mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
Assume x values for missing signal data in FST
Co-authored-by: Miodrag Milanovic <mmicko@gmail.com> Co-authored-by: Roland Coeurjoly <rolandcoeurjoly@gmail.com>
This commit is contained in:
parent
1bf908dea8
commit
5ea2c6e6e5
4 changed files with 26 additions and 2 deletions
2
tests/sim/assume_x_first_step.ys
Normal file
2
tests/sim/assume_x_first_step.ys
Normal file
|
@ -0,0 +1,2 @@
|
|||
read_verilog simple_assign.v
|
||||
sim -r simple_assign.vcd -scope simple_assign
|
8
tests/sim/simple_assign.v
Normal file
8
tests/sim/simple_assign.v
Normal file
|
@ -0,0 +1,8 @@
|
|||
module simple_assign (
|
||||
input wire in,
|
||||
output wire out
|
||||
);
|
||||
|
||||
assign out = in;
|
||||
|
||||
endmodule
|
13
tests/sim/simple_assign.vcd
Normal file
13
tests/sim/simple_assign.vcd
Normal file
|
@ -0,0 +1,13 @@
|
|||
$version Yosys $end
|
||||
$scope module simple_assign $end
|
||||
$var wire 1 n2 in $end
|
||||
$var wire 1 n1 out $end
|
||||
$upscope $end
|
||||
$enddefinitions $end
|
||||
#0
|
||||
#5
|
||||
b1 n1
|
||||
b1 n2
|
||||
#10
|
||||
b0 n1
|
||||
b0 n2
|
Loading…
Add table
Add a link
Reference in a new issue