1
0
mirror of synced 2026-02-13 03:15:32 +00:00

brought rs232 to top

This commit is contained in:
brad
2010-04-14 23:41:35 +00:00
parent 6379274142
commit 6a67dce53a
9 changed files with 104 additions and 44 deletions

View File

@@ -4,8 +4,8 @@
module uart(clk, reset,
tx_clk, tx_req, tx_ack, tx_data, tx_empty,
rx_clk, rx_req, rx_ack, rx_data, rx_empty/*,*/
/*rx_in, tx_out*/);
rx_clk, rx_req, rx_ack, rx_data, rx_empty,
rx_in, tx_out);
input clk;
input reset;
@@ -13,18 +13,18 @@ module uart(clk, reset,
input tx_req;
output tx_ack;
input [7:0] tx_data;
// input tx_enable;
// output tx_out;
output tx_out;
output tx_empty;
input rx_clk;
input rx_req;
output rx_ack;
output [7:0] rx_data;
// input rx_enable;
// input rx_in;
wire rx_in;
input rx_in;
output rx_empty;
// input tx_enable;
// input rx_enable;
reg tx_ack;
reg rx_ack;