Changed FF in std. Started test (spoiler: is not working)

This commit is contained in:
Michele
2022-03-04 13:11:34 +01:00
parent 9c6a591dc7
commit e8fa8e43a6
5 changed files with 146 additions and 6 deletions

View File

@ -0,0 +1,9 @@
t.clk t.d t.q t.ff._qb t.ff._q_B t.ff.__clk t.ff._dl t.ff._clk
[0] start test
[1] reset completed
WRONG ASSERT: "t.q" has value 1 and not 0.
[2] setting d to 1
WRONG ASSERT: "t.q" has value 1 and not 0.
[3] setting clk to 1
[4] Finished

View File

@ -0,0 +1,29 @@
= "GND" "GND"
= "Vdd" "Vdd"
= "Reset" "Reset"
"Reset"->"t._reset_B"-
~("Reset")->"t._reset_B"+
"t.ff._q_B"->"t.ff.q"-
~"t.ff._q_B"->"t.ff.q"+
"t.ff.clk"->"t.ff._clk"-
~"t.ff.clk"->"t.ff._clk"+
"t.ff._clk"->"t.ff.__clk"-
~"t.ff._clk"->"t.ff.__clk"+
"t.ff.reset"->"t.ff._Ro"-
~"t.ff.reset"->"t.ff._Ro"+
"t.ff.d"&"t.ff._clk"->"t.ff._dl"-
~"t.ff.d"&~"t.ff.__clk"->"t.ff._dl"+
"t.ff.reset"&"t.ff._qb"->"t.ff._q_B"-
~"t.ff.reset"|~"t.ff._qb"->"t.ff._q_B"+
after 0 "t.ff.__clk" & ~"t.ff._Ro" -> "t.ff._dl"-
~"t.ff._clk" & "t.ff._Ro" -> "t.ff._dl"+
after 0 "t.ff.__clk" & ~"t.ff.reset" -> "t.ff._qb"-
~"t.ff._clk" & "t.ff.reset" -> "t.ff._qb"+
after 0 "t.ff._clk" & ~"t.ff.reset" -> "t.ff._qb"-
~"t.ff.__clk" & "t.ff.reset" -> "t.ff._qb"+
= "Reset" "t.ff.reset"
= "Vdd" "t.ff.vdd"
= "GND" "t.ff.vss"
= "t.q" "t.ff.q"
= "t.clk" "t.ff.clk"
= "t.d" "t.ff.d"