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
Commits
0b8e4dd4
Commit
0b8e4dd4
authored
4 weeks ago
by
Simon Bjurek
Browse files
Options
Downloads
Patches
Plain Diff
ran pre commit on all files.
parent
a1b9f24c
No related branches found
Branches containing commit
No related tags found
1 merge request
!476
Updated pre commit config versions and added a sort y on start time method
Pipeline
#156958
passed
4 weeks ago
Stage: test
Stage: deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
b_asic/_preferences.py
+2
-2
2 additions, 2 deletions
b_asic/_preferences.py
test/unit/test_schedule.py
+1
-2
1 addition, 2 deletions
test/unit/test_schedule.py
with
3 additions
and
4 deletions
b_asic/_preferences.py
+
2
−
2
View file @
0b8e4dd4
...
...
@@ -16,6 +16,6 @@ PE_COLOR = (0, 185, 231) # LiuBlue
PE_CLUSTER_COLOR
=
(
210
,
238
,
249
)
# LiuBlue5
MEMORY_COLOR
=
(
0
,
207
,
181
)
# LiuGreen
MEMORY_CLUSTER_COLOR
=
(
213
,
241
,
235
)
# LiuGreen5
IO_COLOR
=
(
23
,
199
,
210
)
# LiuTurqoise
IO_CLUSTER_COLOR
=
(
215
,
239
,
242
)
# LiuTurqoise5
IO_COLOR
=
(
23
,
199
,
210
)
# LiuTurq
u
oise
IO_CLUSTER_COLOR
=
(
215
,
239
,
242
)
# LiuTurq
u
oise5
MUX_COLOR
=
(
255
,
100
,
66
)
# LiuOrange
This diff is collapsed.
Click to expand it.
test/unit/test_schedule.py
+
1
−
2
View file @
0b8e4dd4
...
...
@@ -804,8 +804,7 @@ class TestYLocations:
schedule
=
Schedule
(
sfg_simple_filter
,
ASAPScheduler
())
# Assign locations
schedule
.
show
()
print
(
schedule
.
_y_locations
)
assert
schedule
.
_y_locations
==
{
'
in0
'
:
0
,
'
cmul0
'
:
1
,
'
add0
'
:
2
,
'
out0
'
:
3
}
assert
schedule
.
_y_locations
==
{
'
in0
'
:
0
,
'
cmul0
'
:
1
,
'
add0
'
:
3
,
'
out0
'
:
2
}
schedule
.
move_y_location
(
'
add0
'
,
1
,
insert
=
True
)
assert
schedule
.
_y_locations
==
{
'
in0
'
:
0
,
'
cmul0
'
:
2
,
'
add0
'
:
1
,
'
out0
'
:
3
}
schedule
.
move_y_location
(
'
out0
'
,
1
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment