U1 NOR(2) 1 0 5 10 9 DMOD
U2 NOR(2) 1 0 4 9 10 DMOD
.MODEL DMOD DIG ()
I just want to make an SR latch with default parameters (I plan to make more robust parameters later). I am having a hard time with the syntax in xyce and
am getting an error that seems like it's coming from syntax
Circuit: *NOR gate Xyce Simulation
Unknown model type "dig" -- ignored
Error on line 32 : u1 nor(2) 1 0 5 10 9 dmod
Unable to find definition of model "0"
* Unknown parameter "10"
Error on line 33 : u2 nor(2) 1 0 4 9 10 dmod
Unable to find definition of model "0"
* Unknown parameter "9"
Fatal Error: No analysis request found.
I dont want to run analysis just yet. I do want, however, to have a working NOR gate. U1 "should be" a two input nor gate with logic/power level at vdd and ground at node 0, an input at net 5 and 10 and input at 9.
With the model name being DMOD arbitrarily, with parameters to be filled in later. In the end, I want two to make an SR latch.
How do I make this work? On this note, do I always need to set device parameters and model parameters? Or can I leave it blank "()" as I just did?