URL
https://opencores.org/ocsvn/8051/8051/trunk
[/] [8051/] [trunk/] [rtl/] [verilog/] [oc8051_ports.v] - Diff between revs 2 and 4
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 4 |
Line 111... |
Line 111... |
endcase
|
endcase
|
end
|
end
|
endcase
|
endcase
|
end
|
end
|
|
|
always @(p0_out or p0_in or p1_out or p1_in or p2_out or p2_in or p3_out or p3_in)
|
always @(p0_out or p0_in or p1_out or p1_in or p2_out or p2_in or p3_out or p3_in or rmw or rd_addr)
|
begin
|
begin
|
if (rmw) begin
|
if (rmw) begin
|
case (rd_addr[5:4])
|
case (rd_addr[5:4])
|
2'b00: data_out = p0_out;
|
2'b00: data_out = p0_out;
|
2'b01: data_out = p1_out;
|
2'b01: data_out = p1_out;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.