hackt
hackt copied to clipboard
Hierarchical Asynchronous Circuit Kompiler Toolkit
We need to generate the verilog and spice testbenches for prsim-verilog-spice cosimulation for Synopsys VCS and Cadence Incisive. For example, if we have the following files: test.prs: ``` import "source.prs";...
export defchan ev1of2 _ch_e- _ch_e => ch.f- _ch_e | ~_ch_e -> ch.t- } ch.v = ch.f; } source dut; prsim> channel dut.ch ev:0 :0 d:2 Channel acknowledge is not allowed...
most of the work for this is renaming files/extension under test/prsim/vpi. update any necessary documentation too.
when running spice-verilog-prsim cosimulation, all variations of $prsim_cmd("timing random") will hang.
It looks like you forgot to implement watchall-values
spec { assert() } needs to be able to print a given message. Maybe like this? spec { assert() }
clocked channel sources are the best option to test logic trees, but when testing c-element trees, I need to be able to provide a reset value. Current workaround is as...
export defproc test(bool x) { prs { !Vdd -> x- } } test dut; hacprsim: ../../src/sim/prsim/State-prsim.cc:622: void HAC::SIM::PRSIM::State::__initialize(const bool): Assertion `time_traits::is_zero(current_time)' failed. Aborted (core dumped)
# Scratchpad - 1: WISHLIST: time-travel/time-warp debugging in hacprsim Considering extending an interactive mode that allows one to jump to any point in time, in the history of a prsim...
The command is registered in hacprsim as `no-status-interfere` but documented as `no-status-interference`. Same with the `no-status-weak-interfere` command documented as `no-status-weak-interference`.