📄 mico8.vm
字号:
//
// Written by Synplify
// Product Version "Version 9.0L1"
// Program "Synplify", Mapper "9.0.0, Build 139R"
// Fri Mar 14 11:39:56 2008
//
// Source file index table:
// Object locations will have the form <file>:<line>
// file 0 "noname"
// file 1 "\c:\tools\lattice\isptools7_0\synpbase\lib\vhd\std.vhd "
// file 2 "\c:\tools\lattice\isptools7_0\ispcpld\..\cae_library\synthesis\vhdl\ecp2.vhd "
// file 3 "\c:\tools\lattice\isptools7_0\synpbase\lib\vhd\std1164.vhd "
// file 4 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\isp8_io_cntl.vhd "
// file 5 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\isp8_flow_cntl.vhd "
// file 6 "\c:\tools\lattice\isptools7_0\synpbase\lib\vhd\unsigned.vhd "
// file 7 "\c:\tools\lattice\isptools7_0\synpbase\lib\vhd\arith.vhd "
// file 8 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\isp8_alu.vhd "
// file 9 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\isp8_idec.vhd "
// file 10 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\rx_uart_m8.vhd "
// file 11 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\dip8_m8.vhd "
// file 12 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\int_handl_m8.vhd "
// file 13 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\seg7_m8.vhd "
// file 14 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\lcd_m8.vhd "
// file 15 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\tx_uart_m8.vhd "
// file 16 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\led_m8.vhd "
// file 17 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\pwm_m8.vhd "
// file 18 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\serout_m8.vhd "
// file 19 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\syscntrl.vhd "
// file 20 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\isp8_core.vhd "
// file 21 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\isp8_cfg5.vhd "
// file 22 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\progprom.vhd "
// file 23 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\my_pll.vhd "
// file 24 "\c:\projects\refdes~1\mico8\mico8_~3\block_~1\mico8.vhd "
`timescale 100 ps/100 ps
module isp8_idec (
Mico8_Instr_0,
Mico8_Instr_2,
Mico8_Instr_12,
Mico8_Instr_1,
Mico8_Instr_13,
Mico8_Instr_17,
Mico8_Instr_16,
Mico8_Instr_15,
Mico8_Instr_14,
clri_i,
clrc,
setc,
setz,
update_c_i,
update_z_0,
iels_ie,
iels_ls,
ca0,
call,
instr_l2_1,
iels,
iret,
update_z_1,
N_36_1,
un1_br0,
re,
sub,
sc,
instr_l1_3,
N_221,
re_1,
instr_l2_3,
GND
)
;
input Mico8_Instr_0 ;
input Mico8_Instr_2 ;
input Mico8_Instr_12 ;
input Mico8_Instr_1 ;
input Mico8_Instr_13 ;
input Mico8_Instr_17 ;
input Mico8_Instr_16 ;
input Mico8_Instr_15 ;
input Mico8_Instr_14 ;
output clri_i ;
output clrc ;
output setc ;
output setz ;
output update_c_i ;
output update_z_0 ;
output iels_ie ;
output iels_ls ;
output ca0 ;
output call ;
input instr_l2_1 ;
output iels ;
output iret ;
output update_z_1 ;
output N_36_1 ;
output un1_br0 ;
output re ;
output sub ;
output sc ;
output instr_l1_3 ;
output N_221 ;
output re_1 ;
output instr_l2_3 ;
input GND ;
wire Mico8_Instr_0 ;
wire Mico8_Instr_2 ;
wire Mico8_Instr_12 ;
wire Mico8_Instr_1 ;
wire Mico8_Instr_13 ;
wire Mico8_Instr_17 ;
wire Mico8_Instr_16 ;
wire Mico8_Instr_15 ;
wire Mico8_Instr_14 ;
wire clri_i ;
wire clrc ;
wire setc ;
wire setz ;
wire update_c_i ;
wire update_z_0 ;
wire iels_ie ;
wire iels_ls ;
wire ca0 ;
wire call ;
wire instr_l2_1 ;
wire iels ;
wire iret ;
wire update_z_1 ;
wire N_36_1 ;
wire un1_br0 ;
wire re ;
wire sub ;
wire sc ;
wire instr_l1_3 ;
wire N_221 ;
wire re_1 ;
wire instr_l2_3 ;
wire GND ;
wire NN_1 ;
wire VCC ;
assign instr_l2_3 = (Mico8_Instr_14 & Mico8_Instr_15);
assign re_1 = (~Mico8_Instr_14 & Mico8_Instr_15);
assign N_221 = (~Mico8_Instr_16 & Mico8_Instr_17);
assign instr_l1_3 = (Mico8_Instr_16 & Mico8_Instr_17);
assign sc = (Mico8_Instr_14 & Mico8_Instr_15 & ~Mico8_Instr_16 & Mico8_Instr_17);
assign sub = (~Mico8_Instr_14 & ~Mico8_Instr_15 & ~Mico8_Instr_16);
assign re = (~Mico8_Instr_14 & Mico8_Instr_15 & Mico8_Instr_16 & Mico8_Instr_17);
assign un1_br0 = (instr_l1_3 & Mico8_Instr_13 & ~Mico8_Instr_14 & ~Mico8_Instr_15);
assign N_36_1 = (Mico8_Instr_16) | (Mico8_Instr_16 & ~Mico8_Instr_17) |
(Mico8_Instr_14 & Mico8_Instr_17) | (Mico8_Instr_14 & ~Mico8_Instr_15 &
Mico8_Instr_17) | (Mico8_Instr_15 & Mico8_Instr_17) | (Mico8_Instr_14 &
~Mico8_Instr_16 & Mico8_Instr_17) | (Mico8_Instr_14 & ~Mico8_Instr_15 &
~Mico8_Instr_16 & Mico8_Instr_17) | (Mico8_Instr_15 & ~Mico8_Instr_16 &
Mico8_Instr_17) | (Mico8_Instr_16 & Mico8_Instr_17);
assign update_z_1 = (Mico8_Instr_1 & ~Mico8_Instr_16) | (~Mico8_Instr_14 &
~Mico8_Instr_16) | (Mico8_Instr_1 & Mico8_Instr_14 & ~Mico8_Instr_16) |
(~Mico8_Instr_15 & ~Mico8_Instr_16) | (Mico8_Instr_1 & Mico8_Instr_15 &
~Mico8_Instr_16) | (~Mico8_Instr_14 & Mico8_Instr_15 & ~Mico8_Instr_16) |
(Mico8_Instr_1 & Mico8_Instr_14 & Mico8_Instr_15 & ~Mico8_Instr_16);
assign iret = (re_1 & Mico8_Instr_12 & Mico8_Instr_16 & Mico8_Instr_17);
assign iels = (instr_l1_3 & ~Mico8_Instr_13 & Mico8_Instr_14 & Mico8_Instr_15);
assign call = (instr_l1_3 & instr_l2_1 & Mico8_Instr_12 & Mico8_Instr_13);
assign ca0 = (instr_l1_3 & instr_l2_1 & ~Mico8_Instr_12 & Mico8_Instr_13);
assign iels_ls = (instr_l1_3 & instr_l2_3 & Mico8_Instr_2 & ~Mico8_Instr_13);
assign iels_ie = (instr_l1_3 & instr_l2_3 & ~Mico8_Instr_2 & ~Mico8_Instr_13);
assign update_z_0 = (~Mico8_Instr_14 & ~Mico8_Instr_15 & Mico8_Instr_16) |
(~Mico8_Instr_14 & ~Mico8_Instr_15 & Mico8_Instr_16 & ~Mico8_Instr_17) |
(Mico8_Instr_17);
assign update_c_i = (N_36_1 & ~N_221) | (N_36_1 & ~N_221 & ~instr_l2_3) |
(N_36_1 & instr_l2_3) | (N_36_1 & ~Mico8_Instr_1) | (N_36_1 & ~N_221 &
Mico8_Instr_1) | (N_36_1 & ~N_221 & ~instr_l2_3 & Mico8_Instr_1) |
(N_36_1 & instr_l2_3 & Mico8_Instr_1);
assign setz = (sc & Mico8_Instr_0 & Mico8_Instr_1 & ~Mico8_Instr_2);
assign setc = (sc & Mico8_Instr_0 & ~Mico8_Instr_1 & ~Mico8_Instr_2);
assign clrc = (sc & ~Mico8_Instr_0 & ~Mico8_Instr_1 & ~Mico8_Instr_2);
assign clri_i = (~sc) | (~sc & ~Mico8_Instr_0) | (Mico8_Instr_0) | (~sc &
~Mico8_Instr_1) | (~sc & ~Mico8_Instr_0 & ~Mico8_Instr_1) | (Mico8_Instr_0 &
~Mico8_Instr_1) | (Mico8_Instr_1) | (~Mico8_Instr_2) | (~sc & Mico8_Instr_2) |
(~sc & ~Mico8_Instr_0 & Mico8_Instr_2) | (Mico8_Instr_0 & Mico8_Instr_2) |
(~sc & ~Mico8_Instr_1 & Mico8_Instr_2) | (~sc & ~Mico8_Instr_0 & ~Mico8_Instr_1 &
Mico8_Instr_2) | (Mico8_Instr_0 & ~Mico8_Instr_1 & Mico8_Instr_2) |
(Mico8_Instr_1 & Mico8_Instr_2);
assign NN_1 = 1'b0;
assign VCC = 1'b1;
endmodule /* isp8_idec */
module isp8_alu (
dout_alu,
dout_rd,
Mico8_Instr_17,
Mico8_Instr_16,
Mico8_Instr_15,
Mico8_Instr_14,
Mico8_Instr_0,
Mico8_Instr_7,
Mico8_Instr_6,
Mico8_Instr_5,
Mico8_Instr_4,
Mico8_Instr_3,
Mico8_Instr_2,
Mico8_Instr_13,
Mico8_Instr_1,
dout_rb,
cout_alu_u_0_1,
N_221,
sub,
N_140,
N_36_1,
instr_l2_3,
carry_flag,
GND
)
;
output [7:0] dout_alu ;
input [7:0] dout_rd ;
input Mico8_Instr_17 ;
input Mico8_Instr_16 ;
input Mico8_Instr_15 ;
input Mico8_Instr_14 ;
input Mico8_Instr_0 ;
input Mico8_Instr_7 ;
input Mico8_Instr_6 ;
input Mico8_Instr_5 ;
input Mico8_Instr_4 ;
input Mico8_Instr_3 ;
input Mico8_Instr_2 ;
input Mico8_Instr_13 ;
input Mico8_Instr_1 ;
input [7:0] dout_rb ;
output cout_alu_u_0_1 ;
input N_221 ;
input sub ;
output N_140 ;
input N_36_1 ;
input instr_l2_3 ;
input carry_flag ;
input GND ;
wire Mico8_Instr_17 ;
wire Mico8_Instr_16 ;
wire Mico8_Instr_15 ;
wire Mico8_Instr_14 ;
wire Mico8_Instr_0 ;
wire Mico8_Instr_7 ;
wire Mico8_Instr_6 ;
wire Mico8_Instr_5 ;
wire Mico8_Instr_4 ;
wire Mico8_Instr_3 ;
wire Mico8_Instr_2 ;
wire Mico8_Instr_13 ;
wire Mico8_Instr_1 ;
wire cout_alu_u_0_1 ;
wire N_221 ;
wire sub ;
wire N_140 ;
wire N_36_1 ;
wire instr_l2_3 ;
wire carry_flag ;
wire GND ;
wire [4:4] data_rb_int_i_0_m2_i_m3_0;
wire [6:1] dout_alu_1_u_0_0_2;
wire [6:1] dout_alu_1_u_0_0_a7_1_0;
wire [6:0] dout_alu_1_u_0_0_0;
wire [7:7] dout_alu_1_u_i_i_0;
wire [7:0] data_add;
wire [6:0] dout_alu_1_u_0_0_1;
wire [7:7] dout_alu_1_u_i_i_1;
wire [7:7] dout_alu_1_u_i_i_3;
wire [0:0] dout_alu_1_u_0_0_3;
wire N_55 ;
wire N_56 ;
wire N_57 ;
wire N_59 ;
wire N_60 ;
wire N_61 ;
wire N_63 ;
wire N_90 ;
wire N_220 ;
wire N_223 ;
wire N_241 ;
wire N_242 ;
wire N_163 ;
wire N_145 ;
wire cout_alu_u_0_a7_0 ;
wire N_64 ;
wire N_144 ;
wire N_64_i ;
wire N_243 ;
wire cout_alu_u_0_0 ;
wire carry_add_int ;
wire adsu_ci ;
wire Overflow ;
wire NN_1 ;
wire VCC ;
assign N_55 = (dout_rb[1] & Mico8_Instr_1) | (dout_rb[1] & ~Mico8_Instr_13) |
(Mico8_Instr_1 & Mico8_Instr_13);
assign N_56 = (dout_rb[2] & Mico8_Instr_2) | (dout_rb[2] & ~Mico8_Instr_13) |
(Mico8_Instr_2 & Mico8_Instr_13);
assign N_57 = (dout_rb[3] & Mico8_Instr_3) | (dout_rb[3] & ~Mico8_Instr_13) |
(Mico8_Instr_3 & Mico8_Instr_13);
assign data_rb_int_i_0_m2_i_m3_0[4] = (dout_rb[4] & Mico8_Instr_4) | (dout_rb[4] &
~Mico8_Instr_13) | (Mico8_Instr_4 & Mico8_Instr_13);
assign N_59 = (dout_rb[5] & Mico8_Instr_5) | (dout_rb[5] & ~Mico8_Instr_13) |
(Mico8_Instr_5 & Mico8_Instr_13);
assign N_60 = (dout_rb[6] & Mico8_Instr_6) | (dout_rb[6] & ~Mico8_Instr_13) |
(Mico8_Instr_6 & Mico8_Instr_13);
assign N_61 = (dout_rb[7] & Mico8_Instr_7) | (dout_rb[7] & ~Mico8_Instr_13) |
(Mico8_Instr_7 & Mico8_Instr_13);
assign N_63 = (dout_rb[0] & Mico8_Instr_0) | (dout_rb[0] & ~Mico8_Instr_13) |
(Mico8_Instr_0 & Mico8_Instr_13);
assign N_90 = (Mico8_Instr_1 & ~Mico8_Instr_14) | (~Mico8_Instr_14 & ~Mico8_Instr_15) |
(Mico8_Instr_1 & Mico8_Instr_15);
assign N_220 = (Mico8_Instr_15 & Mico8_Instr_16 & ~Mico8_Instr_17);
assign N_223 = (~Mico8_Instr_14 & Mico8_Instr_16 & ~Mico8_Instr_17);
assign dout_alu_1_u_0_0_2[6] = (dout_rb[7] & N_241) | (dout_rb[7] & N_241 &
~N_242) | (dout_rb[5] & N_242) | (dout_rb[5] & ~N_241 & N_242) | (dout_rb[5] &
N_241 & N_242) | (dout_rb[5] & ~dout_rb[7] & N_241 & N_242) | (dout_rb[7] &
N_241 & N_242);
assign dout_alu_1_u_0_0_2[3] = (dout_rb[4] & N_241) | (dout_rb[4] & N_241 &
~N_242) | (dout_rb[2] & N_242) | (dout_rb[2] & ~N_241 & N_242) | (dout_rb[2] &
N_241 & N_242) | (dout_rb[2] & ~dout_rb[4] & N_241 & N_242) | (dout_rb[4] &
N_241 & N_242);
assign dout_alu_1_u_0_0_2[5] = (dout_rb[6] & N_241) | (dout_rb[6] & N_241 &
~N_242) | (dout_rb[4] & N_242) | (dout_rb[4] & ~N_241 & N_242) | (dout_rb[4] &
N_241 & N_242) | (dout_rb[4] & ~dout_rb[6] & N_241 & N_242) | (dout_rb[6] &
N_241 & N_242);
assign dout_alu_1_u_0_0_2[1] = (dout_rb[2] & N_241) | (dout_rb[2] & N_241 &
~N_242) | (dout_rb[0] & N_242) | (dout_rb[0] & ~N_241 & N_242) | (dout_rb[0] &
N_241 & N_242) | (dout_rb[0] & ~dout_rb[2] & N_241 & N_242) | (dout_rb[2] &
N_241 & N_242);
assign dout_alu_1_u_0_0_2[4] = (dout_rb[5] & N_241) | (dout_rb[5] & N_241 &
~N_242) | (dout_rb[3] & N_242) | (dout_rb[3] & ~N_241 & N_242) | (dout_rb[3] &
N_241 & N_242) | (dout_rb[3] & ~dout_rb[5] & N_241 & N_242) | (dout_rb[5] &
N_241 & N_242);
assign dout_alu_1_u_0_0_2[2] = (dout_rb[3] & N_241) | (dout_rb[3] & N_241 &
~N_242) | (dout_rb[1] & N_242) | (dout_rb[1] & ~N_241 & N_242) | (dout_rb[1] &
N_241 & N_242) | (dout_rb[1] & ~dout_rb[3] & N_241 & N_242) | (dout_rb[3] &
N_241 & N_242);
assign N_163 = (carry_flag & dout_rb[0] & N_241) | (dout_rb[0] & N_241 &
~Mico8_Instr_1) | (carry_flag & N_241 & Mico8_Instr_1);
assign N_145 = (carry_flag & dout_rb[7] & N_242) | (dout_rb[7] & N_242 &
~Mico8_Instr_1) | (carry_flag & N_242 & Mico8_Instr_1);
assign cout_alu_u_0_a7_0 = (dout_rb[0] & dout_rb[7] & Mico8_Instr_1) |
(dout_rb[0] & ~Mico8_Instr_0 & Mico8_Instr_1) | (dout_rb[7] & Mico8_Instr_0 &
Mico8_Instr_1);
assign dout_alu_1_u_0_0_a7_1_0[4] = (dout_rb[4] & dout_rd[4] & Mico8_Instr_4) |
(dout_rb[4] & dout_rd[4] & ~Mico8_Instr_13) | (dout_rd[4] & Mico8_Instr_4 &
Mico8_Instr_13);
assign dout_alu_1_u_0_0_a7_1_0[1] = (dout_rb[1] & dout_rd[1] & Mico8_Instr_1) |
(dout_rb[1] & dout_rd[1] & ~Mico8_Instr_13) | (dout_rd[1] & Mico8_Instr_1 &
Mico8_Instr_13);
assign dout_alu_1_u_0_0_a7_1_0[5] = (dout_rb[5] & dout_rd[5] & Mico8_Instr_5) |
(dout_rb[5] & dout_rd[5] & ~Mico8_Instr_13) | (dout_rd[5] & Mico8_Instr_5 &
Mico8_Instr_13);
assign dout_alu_1_u_0_0_a7_1_0[2] = (dout_rb[2] & dout_rd[2] & Mico8_Instr_2) |
(dout_rb[2] & dout_rd[2] & ~Mico8_Instr_13) | (dout_rd[2] & Mico8_Instr_2 &
Mico8_Instr_13);
assign dout_alu_1_u_0_0_a7_1_0[6] = (dout_rb[6] & dout_rd[6] & Mico8_Instr_6) |
(dout_rb[6] & dout_rd[6] & ~Mico8_Instr_13) | (dout_rd[6] & Mico8_Instr_6 &
Mico8_Instr_13);
assign dout_alu_1_u_0_0_a7_1_0[3] = (dout_rb[3] & dout_rd[3] & Mico8_Instr_3) |
(dout_rb[3] & dout_rd[3] & ~Mico8_Instr_13) | (dout_rd[3] & Mico8_Instr_3 &
Mico8_Instr_13);
assign N_64 = (~Mico8_Instr_14 & ~Mico8_Instr_15 & ~Mico8_Instr_16) | (~Mico8_Instr_15 &
~Mico8_Instr_16 & ~Mico8_Instr_17) | (~Mico8_Instr_14 & ~Mico8_Instr_15 &
~Mico8_Instr_16 & Mico8_Instr_17);
assign N_242 = (Mico8_Instr_0 & Mico8_Instr_15 & ~Mico8_Instr_16 & Mico8_Instr_17);
assign N_241 = (~Mico8_Instr_0 & Mico8_Instr_15 & ~Mico8_Instr_16 & Mico8_Instr_17);
assign N_144 = (carry_flag & instr_l2_3 & ~Mico8_Instr_16 & ~Mico8_Instr_17);
assign N_64_i = (Mico8_Instr_15) | (Mico8_Instr_15 & ~Mico8_Instr_16) |
(Mico8_Instr_16) | (Mico8_Instr_15 & ~Mico8_Instr_17) | (Mico8_Instr_15 &
~Mico8_Instr_16 & ~Mico8_Instr_17) | (Mico8_Instr_16 & ~Mico8_Instr_17) |
(Mico8_Instr_14 & Mico8_Instr_17) | (Mico8_Instr_14 & ~Mico8_Instr_15 &
Mico8_Instr_17) | (Mico8_Instr_15 & Mico8_Instr_17) | (Mico8_Instr_14 &
~Mico8_Instr_16 & Mico8_Instr_17) | (Mico8_Instr_14 & ~Mico8_Instr_15 &
~Mico8_Instr_16 & Mico8_Instr_17) | (Mico8_Instr_15 & ~Mico8_Instr_16 &
Mico8_Instr_17) | (Mico8_Instr_16 & Mico8_Instr_17);
assign N_243 = (~Mico8_Instr_15 & Mico8_Instr_16 & ~Mico8_Instr_17) | (Mico8_Instr_14 &
~Mico8_Instr_15 & ~Mico8_Instr_16 & Mico8_Instr_17);
assign cout_alu_u_0_0 = (carry_flag & Mico8_Instr_16 & ~Mico8_Instr_17) |
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -