mirror of
https://github.com/sxpert/hp-saturn
synced 2024-12-26 09:58:09 +01:00
add the serial port to the complie
change speed to 115200
This commit is contained in:
parent
7708d7a85c
commit
5716904ac8
2 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
read_verilog -I. saturn_top.v
|
||||
read_verilog -I. saturn_serial.v
|
||||
read_verilog -I. saturn_bus.v
|
||||
read_verilog -I. saturn_hp48gx_rom.v
|
||||
read_verilog -I. saturn_bus_controller.v
|
||||
|
|
|
@ -51,8 +51,14 @@ reg [9:0] data_reg;
|
|||
`define BIT_DELAY_START 13'h0
|
||||
`define BIT_DELAY_TEST 0
|
||||
`else
|
||||
`define BIT_DELAY_START 13'h54D
|
||||
`define BIT_DELAY_TEST 12
|
||||
/* 9600 */
|
||||
// `define BIT_DELAY_START 13'h54D
|
||||
//`define BIT_DELAY_TEST 12
|
||||
|
||||
/* 115200 */
|
||||
`define BIT_DELAY_START 13'h27
|
||||
`define BIT_DELAY_TEST 8
|
||||
|
||||
`endif
|
||||
|
||||
reg [12:0] bit_delay;
|
||||
|
|
Loading…
Reference in a new issue