eZ80F92 Development Kit
User Manual
General Array Logic Equations
PRELIMINARY
UM013904-0203
78
nRD
/* synthesis loc="P7"*/,
nCS
/* synthesis loc="P25"*/, //CS3 for CS9800
nWR
/* synthesis loc="P9"*/,
nMEMRQ
/* synthesis loc="P16"*/;
output
nEM_RD
/* synthesis loc="P17"*/,
nEM_WR
/* synthesis loc="P18"*/,
nCT_WR
/* synthesis loc="P19"*/,
nAN_WR
/* synthesis loc="P20"*/,
nDIS_ETH /* synthesis loc="P21"*/;
parameter anode=8'h00;
parameter cathode=8'h01;
parameter latch=8'h02;
wire [7:0] address={A7,A6,A5,A4,A3,A2,A1,A0};
assign nEM_WR =
~((nDIS_EM==1)&(nWR==0)&(nEM_EN==0)&(address==latch));
assign nEM_RD =
~((nDIS_EM==1)&(nRD==0)&(nEM_EN==0)&(address==latch));
assign nAN_WR =
~((nDIS_EM==1)&(nWR==0)&(nEM_EN==0)&(address==anode));
assign nCT_WR =
~((nDIS_EM==1)&(nWR==0)&(nEM_EN==0)&(address==cathode));
assign nDIS_ETH = ~(nCS);
endmodule