📄 hdl_demo.edn
字号:
(portRef A (instanceRef outp_8_4_0_a6_2_7))
))
(net accum_b_c_0 (joined
(portRef (member accum_b_c 7))
(portRef B0 (instanceRef un4_outp_1_add3_0))
(portRef A0 (instanceRef outp_1_1_add3_0))
(portRef C (instanceRef outp_8_4_0_0_0))
(portRef A (instanceRef outp_8_4_0_a6_0))
))
(net accum_b_c_1 (joined
(portRef (member accum_b_c 6))
(portRef B1 (instanceRef un4_outp_1_add3_0))
(portRef A1 (instanceRef outp_1_1_add3_0))
(portRef C (instanceRef outp_8_4_0_0_1))
(portRef A (instanceRef outp_8_4_0_a6_1))
))
(net accum_b_c_2 (joined
(portRef (member accum_b_c 5))
(portRef B2 (instanceRef un4_outp_1_add3_0))
(portRef A2 (instanceRef outp_1_1_add3_0))
(portRef C (instanceRef outp_8_4_0_0_2))
(portRef A (instanceRef outp_8_4_0_a6_2))
))
(net accum_b_c_3 (joined
(portRef (member accum_b_c 4))
(portRef B3 (instanceRef un4_outp_1_add3_0))
(portRef A3 (instanceRef outp_1_1_add3_0))
(portRef C (instanceRef outp_8_4_0_0_3))
(portRef A (instanceRef outp_8_4_0_a6_3))
))
(net accum_a_c_0 (joined
(portRef (member accum_a_c 7))
(portRef A0 (instanceRef un4_outp_1_add3_0))
(portRef B0 (instanceRef outp_1_1_add3_0))
(portRef B (instanceRef outp_8_4_0_0_0))
(portRef B (instanceRef outp_8_4_0_a6_0))
))
(net accum_a_c_1 (joined
(portRef (member accum_a_c 6))
(portRef A1 (instanceRef un4_outp_1_add3_0))
(portRef B1 (instanceRef outp_1_1_add3_0))
(portRef B (instanceRef outp_8_4_0_0_1))
(portRef B (instanceRef outp_8_4_0_a6_1))
))
(net accum_a_c_2 (joined
(portRef (member accum_a_c 5))
(portRef A2 (instanceRef un4_outp_1_add3_0))
(portRef B2 (instanceRef outp_1_1_add3_0))
(portRef B (instanceRef outp_8_4_0_0_2))
(portRef B (instanceRef outp_8_4_0_a6_2))
))
(net accum_a_c_3 (joined
(portRef (member accum_a_c 4))
(portRef A3 (instanceRef un4_outp_1_add3_0))
(portRef B3 (instanceRef outp_1_1_add3_0))
(portRef B (instanceRef outp_8_4_0_0_3))
(portRef B (instanceRef outp_8_4_0_a6_3))
))
(net CRY3_0 (joined
(portRef CO (instanceRef outp_1_1_add3_0))
(portRef CI (instanceRef outp_1_1_add7_4))
))
(net outp_1_0 (joined
(portRef S0 (instanceRef outp_1_1_add3_0))
(portRef A (instanceRef outp_8_4_0_a6_3_0))
))
(net outp_1_1 (joined
(portRef S1 (instanceRef outp_1_1_add3_0))
(portRef A (instanceRef outp_8_4_0_a6_3_1))
))
(net outp_1_2 (joined
(portRef S2 (instanceRef outp_1_1_add3_0))
(portRef A (instanceRef outp_8_4_0_a6_3_2))
))
(net outp_1_3 (joined
(portRef S3 (instanceRef outp_1_1_add3_0))
(portRef A (instanceRef outp_8_4_0_a6_3_3))
))
(net GND (joined
(portRef Z (instanceRef GND_0))
(portRef CI (instanceRef outp_1_1_add3_0))
))
(net VCC (joined
(portRef Z (instanceRef VCC_0))
(portRef BI (instanceRef un4_outp_1_add3_0))
))
)
)
)
(cell hdl_demo (cellType GENERIC)
(view verilog (viewType NETLIST)
(interface
(port (array (rename start_value "start_value[31:0]") 32) (direction INPUT))
(port (array (rename accum_a "accum_a[7:0]") 8) (direction INPUT))
(port (array (rename accum_b "accum_b[7:0]") 8) (direction INPUT))
(port (array (rename result "result[7:0]") 8) (direction OUTPUT))
(port rst (direction INPUT))
(port clk (direction INPUT)
)
(port in_a (direction INPUT)
)
(port in_b (direction INPUT)
)
(port in_c (direction INPUT)
)
)
(contents
(instance VCC_0 (viewRef PRIM (cellRef VHI (libraryRef LUCENT))) )
(instance GND_0 (viewRef PRIM (cellRef VLO (libraryRef LUCENT))) )
(instance alu1_outpio_0 (viewRef PRIM (cellRef OFS1P3DX (libraryRef LUCENT)))
)
(instance alu1_outpio_1 (viewRef PRIM (cellRef OFS1P3DX (libraryRef LUCENT)))
)
(instance alu1_outpio_2 (viewRef PRIM (cellRef OFS1P3DX (libraryRef LUCENT)))
)
(instance alu1_outpio_3 (viewRef PRIM (cellRef OFS1P3DX (libraryRef LUCENT)))
)
(instance alu1_outpio_4 (viewRef PRIM (cellRef OFS1P3DX (libraryRef LUCENT)))
)
(instance alu1_outpio_5 (viewRef PRIM (cellRef OFS1P3DX (libraryRef LUCENT)))
)
(instance alu1_outpio_6 (viewRef PRIM (cellRef OFS1P3DX (libraryRef LUCENT)))
)
(instance alu1_outpio_7 (viewRef PRIM (cellRef OFS1P3DX (libraryRef LUCENT)))
)
(instance op_code_fast_0 (viewRef PRIM (cellRef FD1P3AX (libraryRef LUCENT)))
)
(instance op_code_fast_1 (viewRef PRIM (cellRef FD1P3AX (libraryRef LUCENT)))
)
(instance start_0 (viewRef PRIM (cellRef ORCALUT4 (libraryRef LUCENT)))
(property lut_function (string "(!C A+C (B+A))"))
)
(instance un6_i_a2_i_2 (viewRef PRIM (cellRef ORCALUT4 (libraryRef LUCENT)))
(property lut_function (string "(B+A)"))
)
(instance un6_i_a2_0_a3_1 (viewRef PRIM (cellRef ORCALUT4 (libraryRef LUCENT)))
(property lut_function (string "(D+(C+(B+A)))"))
)
(instance un6_i_a2_2_a3_0 (viewRef PRIM (cellRef ORCALUT4 (libraryRef LUCENT)))
(property lut_function (string "(D+(C+(B+A)))"))
)
(instance start9_16 (viewRef PRIM (cellRef ORCALUT4 (libraryRef LUCENT)))
(property lut_function (string "(D (C (B A)))"))
)
(instance start9_17 (viewRef PRIM (cellRef ORCALUT4 (libraryRef LUCENT)))
(property lut_function (string "(D (C (B A)))"))
)
(instance start9_18 (viewRef PRIM (cellRef ORCALUT4 (libraryRef LUCENT)))
(property lut_function (string "(D (C (B A)))"))
)
(instance start9_19 (viewRef PRIM (cellRef ORCALUT4 (libraryRef LUCENT)))
(property lut_function (string "(D (C (B A)))"))
)
(instance start9_20 (viewRef PRIM (cellRef ORCALUT4 (libraryRef LUCENT)))
(property lut_function (string "(D (C (B A)))"))
)
(instance start9_21 (viewRef PRIM (cellRef ORCALUT4 (libraryRef LUCENT)))
(property lut_function (string "(D (!C (!B !A)))"))
)
(instance start9_22 (viewRef PRIM (cellRef ORCALUT4 (libraryRef LUCENT)))
(property lut_function (string "(!D (!C (!B !A)))"))
)
(instance start9_23 (viewRef PRIM (cellRef ORCALUT4 (libraryRef LUCENT)))
(property lut_function (string "(!D (!C (!B !A)))"))
)
(instance start9_28 (viewRef PRIM (cellRef ORCALUT4 (libraryRef LUCENT)))
(property lut_function (string "(D (C (B A)))"))
)
(instance start9_29 (viewRef PRIM (cellRef ORCALUT4 (libraryRef LUCENT)))
(property lut_function (string "(D (C (B A)))"))
)
(instance result_pad_7 (viewRef PRIM (cellRef OB6 (libraryRef LUCENT))) )
(instance result_pad_6 (viewRef PRIM (cellRef OB6 (libraryRef LUCENT))) )
(instance result_pad_5 (viewRef PRIM (cellRef OB6 (libraryRef LUCENT))) )
(instance result_pad_4 (viewRef PRIM (cellRef OB6 (libraryRef LUCENT))) )
(instance result_pad_3 (viewRef PRIM (cellRef OB6 (libraryRef LUCENT))) )
(instance result_pad_2 (viewRef PRIM (cellRef OB6 (libraryRef LUCENT))) )
(instance result_pad_1 (viewRef PRIM (cellRef OB6 (libraryRef LUCENT))) )
(instance result_pad_0 (viewRef PRIM (cellRef OB6 (libraryRef LUCENT))) )
(instance accum_b_pad_7 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance accum_b_pad_6 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance accum_b_pad_5 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance accum_b_pad_4 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance accum_b_pad_3 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance accum_b_pad_2 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance accum_b_pad_1 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance accum_b_pad_0 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance accum_a_pad_7 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance accum_a_pad_6 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance accum_a_pad_5 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance accum_a_pad_4 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance accum_a_pad_3 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance accum_a_pad_2 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance accum_a_pad_1 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance accum_a_pad_0 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance in_c_pad (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance in_b_pad (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance in_a_pad (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_31 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_30 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_29 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_28 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_27 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_26 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_25 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_24 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_23 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_22 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_21 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_20 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_19 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_18 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_17 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_16 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_15 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_14 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_13 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_12 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_11 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_10 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_9 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_8 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_7 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_6 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_5 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_4 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_3 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_2 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_1 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start_value_pad_0 (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance clk_pad (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance rst_pad (viewRef PRIM (cellRef IBM (libraryRef LUCENT))) )
(instance start (viewRef PRIM (cellRef FD1S3AX (libraryRef LUCENT)))
)
(instance op_code_0 (viewRef PRIM (cellRef FD1P3AX (libraryRef LUCENT)))
)
(instance op_code_1 (viewRef PRIM (cellRef FD1P3AX (libraryRef LUCENT)))
)
(instance op_code_2 (viewRef PRIM (cellRef FD1P3AX (libraryRef LUCENT)))
)
(instance GSR (viewRef PRIM (cellRef GSR (libraryRef LUCENT)))
)
(instance GSRN (viewRef PRIM (cellRef INV (libraryRef LUCENT)))
)
(instance alu1 (viewRef netlist (cellRef alu_1)) )
(instance state_h (viewRef netlist (cellRef hdl_demo_cell_state_9_0__h_1))
)
(net op_codeZ0Z_0 (joined
(portRef Q (instanceRef op_code_0))
(portRef (member op_code 2) (instanceRef alu1))
))
(net op_codeZ0Z_1 (joined
(portRef Q (instanceRef op_code_1))
(portRef (member op_code 1) (instanceRef alu1))
))
(net op_codeZ0Z_2 (joined
(portRef Q (instanceRef op_code_2))
(portRef (member op_code 0) (instanceRef alu1))
))
(net state_1 (joined
(portRef state_1 (instanceRef state_h))
(portRef B (instanceRef un6_i_a2_2_a3_0))
))
(net state_2 (joined
(portRef state_2 (instanceRef state_h))
(portRef D (instanceRef un6_i_a2_0_a3_1))
))
(net state_3 (joined
(portRef state_3 (instanceRef state_h))
(portRef C (instanceRef un6_i_a2_0_a3_1))
(portRef A (instanceRef un6_i_a2_2_a3_0))
))
(net state_4 (joined
(portRef state_4 (instanceRef state_h))
(portRef A (instanceRef un6_i_a2_i_2))
))
(net state_6 (joined
(portRef state_6 (instanceRef state_h))
(portRef D (instanceRef un6_i_a2_2_a3_0))
))
(net state_7 (joined
(portRef state_7 (instanceRef state_h))
(portRef B (instanceRef un6_i_a2_0_a3_1))
))
(net state_8 (joined
(portRef state_8 (instanceRef state_h))
(portRef A (instanceRef un6_i_a2_0_a3_1))
(portRef C (instanceRef un6_i_a2_2_a3_0))
))
(net state_9 (joined
(portRef state_9 (instanceRef state_h))
(portRef B (instanceRef un6_i_a2_i_2))
))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -