Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B-ASIC - Better ASIC Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computer Engineering
B-ASIC - Better ASIC Toolbox
Merge requests
!412
Replace << connect operator with <<= and overload shift
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Replace << connect operator with <<= and overload shift
ilshift
into
master
Overview
0
Commits
1
Pipelines
1
Changes
15
Merged
Oscar Gustafsson
requested to merge
ilshift
into
master
2 years ago
Overview
0
Commits
1
Pipelines
1
Changes
15
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
3780986f
1 commit,
2 years ago
15 files
+
178
−
173
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
15
Search (e.g. *.vue) (Ctrl+P)
b_asic/architecture.py
+
5
−
1
Options
@@ -203,6 +203,10 @@ class Resource(HardwareBlock):
def
_info
(
self
):
return
""
@property
def
_color
(
self
):
raise
NotImplementedError
@property
def
schedule_time
(
self
)
->
int
:
# doc-string inherited
@@ -304,7 +308,7 @@ class Resource(HardwareBlock):
"""
if
isinstance
(
proc
,
OperatorProcess
):
# operation_type marks OperatorProcess associated operation.
if
not
isinstance
(
proc
.
_
operation
,
self
.
operation_type
):
if
not
isinstance
(
proc
.
operation
,
self
.
operation_type
):
raise
TypeError
(
f
"
{
proc
}
not of type
{
self
.
operation_type
}
"
)
else
:
# operation_type is MemoryVariable or PlainMemoryVariable
Loading