# Set up to use the second constructor so we can # specify the gate type: constructor 1 # This command commented out: # paramgui # Set the width of the wires to be 1: portparam width 1 # Set the gate type to be xor: param string0 xor # Set up simulation to cycle through all # combinations of two one-bit wires: put a 0 1 put b 0 0 1 1 # Let's have a look at the schematic: viewcell DynamicTestBench/GateNReg_NBit