Merge pull request #28 from GuzTech/master

Add STACKADDR parameter to picorv32_axi module
This commit is contained in:
Clifford Wolf 2017-01-15 20:33:25 +01:00 committed by GitHub
commit 3d090cbd26
1 changed files with 4 additions and 2 deletions

View File

@ -2311,7 +2311,8 @@ module picorv32_axi #(
parameter [31:0] MASKED_IRQ = 32'h 0000_0000, parameter [31:0] MASKED_IRQ = 32'h 0000_0000,
parameter [31:0] LATCHED_IRQ = 32'h ffff_ffff, parameter [31:0] LATCHED_IRQ = 32'h ffff_ffff,
parameter [31:0] PROGADDR_RESET = 32'h 0000_0000, parameter [31:0] PROGADDR_RESET = 32'h 0000_0000,
parameter [31:0] PROGADDR_IRQ = 32'h 0000_0010 parameter [31:0] PROGADDR_IRQ = 32'h 0000_0010,
parameter [31:0] STACKADDR = 32'h 0000_0fff
) ( ) (
input clk, resetn, input clk, resetn,
output trap, output trap,
@ -2419,7 +2420,8 @@ module picorv32_axi #(
.MASKED_IRQ (MASKED_IRQ ), .MASKED_IRQ (MASKED_IRQ ),
.LATCHED_IRQ (LATCHED_IRQ ), .LATCHED_IRQ (LATCHED_IRQ ),
.PROGADDR_RESET (PROGADDR_RESET ), .PROGADDR_RESET (PROGADDR_RESET ),
.PROGADDR_IRQ (PROGADDR_IRQ ) .PROGADDR_IRQ (PROGADDR_IRQ ),
.STACKADDR (STACKADDR )
) picorv32_core ( ) picorv32_core (
.clk (clk ), .clk (clk ),
.resetn (resetn), .resetn (resetn),