mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-22 05:59:15 +01:00
reset vector update
This commit is contained in:
parent
0ae6aed88f
commit
06aa5c9de2
@ -33,7 +33,7 @@ module cpu_wrapper (
|
|||||||
.ENABLE_COUNTERS64(0),
|
.ENABLE_COUNTERS64(0),
|
||||||
.CATCH_MISALIGN(0),
|
.CATCH_MISALIGN(0),
|
||||||
.CATCH_ILLINSN(0),
|
.CATCH_ILLINSN(0),
|
||||||
.PROGADDR_RESET({4'(sc64::ID_CPU_FLASH), 28'h003_5800})
|
.PROGADDR_RESET(sc64::CPU_RESET_VECTOR)
|
||||||
) cpu_inst (
|
) cpu_inst (
|
||||||
.clk(sys.clk),
|
.clk(sys.clk),
|
||||||
.resetn(~sys.reset),
|
.resetn(~sys.reset),
|
||||||
|
@ -31,11 +31,9 @@ package sc64;
|
|||||||
} e_dma_id;
|
} e_dma_id;
|
||||||
|
|
||||||
parameter bit [31:0] SC64_VER = 32'h53437632;
|
parameter bit [31:0] SC64_VER = 32'h53437632;
|
||||||
|
|
||||||
parameter int CLOCK_FREQUENCY = 32'd100_000_000;
|
parameter int CLOCK_FREQUENCY = 32'd100_000_000;
|
||||||
|
parameter bit [31:0] CPU_RESET_VECTOR = {4'(ID_CPU_FLASH), 28'h0035800};
|
||||||
parameter bit CPU_HAS_UART = 1'b0;
|
parameter bit CPU_HAS_UART = 1'b0;
|
||||||
|
|
||||||
parameter int UART_BAUD_RATE = 32'd1_000_000;
|
parameter int UART_BAUD_RATE = 32'd1_000_000;
|
||||||
|
|
||||||
endpackage
|
endpackage
|
||||||
|
Loading…
Reference in New Issue
Block a user