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
5ff9d28f
Commit
5ff9d28f
authored
1 month ago
by
Simon Bjurek
Browse files
Options
Downloads
Patches
Plain Diff
updated so that execution time does not have to be set for dont cares
parent
d983ffea
Branches
add-slack-time-sched
No related tags found
1 merge request
!470
Add slack time scheduling, redid earliest deadline, added max-fan-out and hybrid scheduler, also added example
Pipeline
#156545
passed
1 month ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
b_asic/core_operations.py
+6
-18
6 additions, 18 deletions
b_asic/core_operations.py
examples/ldlt_matrix_inverse.py
+0
-2
0 additions, 2 deletions
examples/ldlt_matrix_inverse.py
with
6 additions
and
20 deletions
b_asic/core_operations.py
+
6
−
18
View file @
5ff9d28f
...
...
@@ -1677,6 +1677,7 @@ class DontCare(AbstractOperation):
output_count
=
1
,
name
=
name
,
latency_offsets
=
{
"
out0
"
:
0
},
execution_time
=
0
,
)
@classmethod
...
...
@@ -1753,6 +1754,7 @@ class Sink(AbstractOperation):
output_count
=
0
,
name
=
name
,
latency_offsets
=
{
"
in0
"
:
0
},
execution_time
=
0
,
)
@classmethod
...
...
@@ -1777,28 +1779,14 @@ class Sink(AbstractOperation):
)
->
tuple
[
tuple
[
tuple
[
float
,
float
],
...],
tuple
[
tuple
[
float
,
float
],
...]]:
# Doc-string inherited
return
(
(
(
-
0.5
,
0
),
(
-
0.5
,
1
),
(
-
0.25
,
1
),
(
0
,
0.5
),
(
-
0.25
,
0
),
(
-
0.5
,
0
),
),
(
(
-
0.5
,
0
),
(
-
0.5
,
1
),
(
-
0.25
,
1
),
(
0
,
0.5
),
(
-
0.25
,
0
),
(
-
0.5
,
0
),
),
((
0
,
0
),
(
0
,
1
),
(
0.25
,
1
),
(
0.5
,
0.5
),
(
0.25
,
0
),
(
0
,
0
)),
((
0
,
0
),
(
0
,
1
),
(
0.25
,
1
),
(
0.5
,
0.5
),
(
0.25
,
0
),
(
0
,
0
)),
)
def
get_input_coordinates
(
self
)
->
tuple
[
tuple
[
float
,
float
],
...]:
# doc-string inherited
return
tuple
(
)
return
((
0
,
0.5
),
)
def
get_output_coordinates
(
self
)
->
tuple
[
tuple
[
float
,
float
],
...]:
# doc-string inherited
return
((
0
,
0.5
),
)
return
tuple
(
)
This diff is collapsed.
Click to expand it.
examples/ldlt_matrix_inverse.py
+
0
−
2
View file @
5ff9d28f
...
...
@@ -27,10 +27,8 @@ sfg
# %%
# Set latencies and execution times.
sfg
.
set_latency_of_type
(
DontCare
.
type_name
(),
0
)
# REMOVE!!!
sfg
.
set_latency_of_type
(
MADS
.
type_name
(),
3
)
sfg
.
set_latency_of_type
(
Reciprocal
.
type_name
(),
2
)
sfg
.
set_execution_time_of_type
(
DontCare
.
type_name
(),
0
)
# REMOVE!!!
sfg
.
set_execution_time_of_type
(
MADS
.
type_name
(),
1
)
sfg
.
set_execution_time_of_type
(
Reciprocal
.
type_name
(),
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