Commit 76b033a
committed
mock-array: read_power_activities MockArray.vcd test case
To do post synthesis simulation and use read_power_activities for
report_power, run:
make DESIGN_CONFIG=designs/asap7/mock-array/config.mk final simulate power
This is a starting point for collaboration of separate concerns
that will be addressed in multiple PRs that try to address a single
concern at the time:
- Where should the behavioral .v files for ASAP7 go?
- The simulation needs to happen for every build. Today this happens using Chisel,
but it would be better to use Verilator to provide an example that can
be reused for other designs. Although users may generate Verilog using
tools such as XLS, Aramanth, Chisel, etc., ORFS takes Verilog as read and
is not involved in this process.
- Add post synthesis report_power after read_power_activities for asap7/gcd
- What to do about read_spef for Element, currently commented out?
- Regression testing should include read_power_activities report_power for the
designs that support it.
- The power.tcl is currently hard-coded to mock-array, make it general so that
it works for all designs, including those that use BLOCKS
- The "power" and "simulate" targets are specific to mock-array, make them
generic and have some default behavior when for designs it is not used.
- The behavioral model of ASAP7 is not supported by Verilator. ChatGPT seems
to be able to whip up a behavioral model easily, but where should these
files go? I don't think it makes sense to try to update ASAP7, I think these
files are specific to ORFS.
Signed-off-by: Øyvind Harboe <[email protected]>1 parent 019c611 commit 76b033a
File tree
12 files changed
+11554
-46
lines changed- flow/designs
- asap7/mock-array
- src/mock-array
- post
- src/main/scala
12 files changed
+11554
-46
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
43 | 53 | | |
44 | 54 | | |
45 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments