27 lines
287 B
Plaintext
27 lines
287 B
Plaintext
|
.model top
|
||
|
.inputs a b clk
|
||
|
.outputs o_dff
|
||
|
|
||
|
.names a b a_and_b
|
||
|
11 1
|
||
|
.cname lut_a_and_b
|
||
|
|
||
|
.subckt dff \
|
||
|
d=a_and_b \
|
||
|
q=dff_q \
|
||
|
clk=clk
|
||
|
.cname my_dff
|
||
|
.param parama #Blank value
|
||
|
.attr attra #Blank value
|
||
|
|
||
|
.conn dff_q o_dff
|
||
|
|
||
|
.end
|
||
|
|
||
|
|
||
|
.model dff
|
||
|
.inputs d clk
|
||
|
.outputs q
|
||
|
.blackbox
|
||
|
.end
|