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
!23
Resolve "Simulate SFG"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Simulate SFG"
24-simulate-sfg
into
develop
Overview
2
Commits
37
Pipelines
3
Changes
1
Merged
Ivar Härnqvist
requested to merge
24-simulate-sfg
into
develop
4 years ago
Overview
2
Commits
37
Pipelines
3
Changes
1
Expand
Closes
#22 (closed)
and
#24 (closed)
. This merge will:
add some important test cases
implement deep copying of SFG
implement Simulation
add Register operation
refactor operation evaluation to allow for simulation of registers/delays with loops and nested SFGs
refactor neighbors/parameter/traverse interface by moving it to GraphComponent
add some convenience functions to Operation
tidy up the method signatures of some interfaces to be more general
move bit length specification from InputPort to Signal
add customization point for specifying input truncation behavior for user operations
0
0
Merge request reports
Viewing commit
5fe5e715
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
5fe5e715
add missing return type annotation for __str__ in SFG
· 5fe5e715
Ivar Härnqvist
authored
4 years ago
b_asic/signal_flow_graph.py
+
1
−
1
Options
@@ -156,7 +156,7 @@ class SFG(AbstractOperation):
if
signal
.
source
.
operation
not
in
self
.
_original_components_to_new
:
self
.
_add_operation_connected_tree_copy
(
signal
.
source
.
operation
)
def
__str__
(
self
):
def
__str__
(
self
)
->
str
:
"""
Get a string representation of this SFG.
"""
output_string
=
""
for
component
in
self
.
_components_ordered
:
Loading