Purpose of the separate test_design in Test #218
-
What is the purpose of a separate test design in the Test directory? Even if the simulation and emulation commands are not yet perfectly integrated into the shell, the scripts |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Simulation and emulation are different. I think the problem is what happens under simulation and under emulation. When we run under emulation, do we bypass something that makes it run faster, or vice versa? Based on my understanding of how simulation and emulation should behave, a simulation will combine the user design into the fabric, which gets optimised by the synthesis and then gets run. On the other hand, emulation will be the hardware setup, and then we load in the bitstream to see what the device is doing. But based on my definition, I think our current "simulation" is an emulation, and I don't know what emulation is doing. But they both exist for a reason... |
Beta Was this translation helpful? Give feedback.
The rational behind
test
anduser_design
in two folder is because what you testing the fabric might not be the same as what run on the fabric. For example, we might want to run test that will exercise all the LUTs and wires within the fabric, so we implement a fabric size shift register which have no practical use. Theuser_design
will be for what the user want to implement onto the fabric. Since the user have a few predefined workload want to run, they can optimise the fabric for those workload.The counter example just so happen being a good smoke test and user design.