fix logic sim of DFF.QN output
This commit is contained in:
1 parent
35cf63cf38
commit
2bbdf3ee5d
1 file changed
+2
@@ -166,6 +166,8 @@ class LogicSim:
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def dff_fct(inputs, outputs):
|
def dff_fct(inputs, outputs):
|
||||||
logic.bp_buf(outputs[0], inputs[0])
|
logic.bp_buf(outputs[0], inputs[0])
|
||||||
|
if len(outputs) > 1:
|
||||||
|
logic.bp_not(outputs[1], inputs[0])
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def nand_fct(inputs, outputs):
|
def nand_fct(inputs, outputs):
|
||||||
|
|||||||
Reference in new issue
Block a user