File tree 5 files changed +9
-13
lines changed
5 files changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -399,10 +399,6 @@ package common is
399
399
write_cr_mask => (others => '0' ),
400
400
write_cr_data => (others => '0' ));
401
401
402
- type XicsToExecute1Type is record
403
- irq : std_ulogic ;
404
- end record ;
405
-
406
402
end common ;
407
403
408
404
package body common is
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ entity core is
34
34
dmi_wr : in std_ulogic ;
35
35
dmi_ack : out std_ulogic ;
36
36
37
- xics_in : in XicsToExecute1Type ;
37
+ ext_irq : in std_ulogic ;
38
38
39
39
terminated_out : out std_logic
40
40
);
@@ -291,8 +291,8 @@ begin
291
291
flush_out => flush,
292
292
stall_out => ex1_stall_out,
293
293
e_in => decode2_to_execute1,
294
- i_in => xics_in,
295
294
l_in => loadstore1_to_execute1,
295
+ ext_irq_in => ext_irq,
296
296
l_out => execute1_to_loadstore1,
297
297
f_out => execute1_to_fetch1,
298
298
e_out => execute1_to_writeback,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ entity execute1 is
25
25
e_in : in Decode2ToExecute1Type;
26
26
l_in : in Loadstore1ToExecute1Type;
27
27
28
- i_in : in XicsToExecute1Type ;
28
+ ext_irq_in : std_ulogic ;
29
29
30
30
-- asynchronous
31
31
l_out : out Execute1ToLoadstore1Type;
@@ -419,7 +419,7 @@ begin
419
419
ctrl_tmp.irq_nia <= std_logic_vector (to_unsigned (16#900# , 64 ));
420
420
report " IRQ valid: DEC" ;
421
421
irq_valid := '1' ;
422
- elsif i_in.irq = '1' then
422
+ elsif ext_irq_in = '1' then
423
423
ctrl_tmp.irq_nia <= std_logic_vector (to_unsigned (16#500# , 64 ));
424
424
report " IRQ valid: External" ;
425
425
irq_valid := '1' ;
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ architecture behaviour of soc is
100
100
signal wb_xics0_out : wb_io_slave_out;
101
101
signal int_level_in : std_ulogic_vector (15 downto 0 );
102
102
103
- signal xics_to_execute1 : XicsToExecute1Type ;
103
+ signal core_ext_irq : std_ulogic ;
104
104
105
105
-- Main memory signals:
106
106
signal wb_bram_in : wishbone_master_out;
@@ -170,7 +170,7 @@ begin
170
170
dmi_wr => dmi_wr,
171
171
dmi_ack => dmi_core_ack,
172
172
dmi_req => dmi_core_req,
173
- xics_in => xics_to_execute1
173
+ ext_irq => core_ext_irq
174
174
);
175
175
176
176
-- Wishbone bus master arbiter & mux
@@ -512,7 +512,7 @@ begin
512
512
wb_in => wb_xics0_in,
513
513
wb_out => wb_xics0_out,
514
514
int_level_in => int_level_in,
515
- e_out => xics_to_execute1
515
+ core_irq_out => core_ext_irq
516
516
);
517
517
518
518
-- BRAM Memory slave
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ entity xics is
35
35
36
36
int_level_in : in std_ulogic_vector (LEVEL_NUM - 1 downto 0 );
37
37
38
- e_out : out XicsToExecute1Type
38
+ core_irq_out : out std_ulogic
39
39
);
40
40
end xics ;
41
41
80
80
wb_out.dat <= r.wb_rd_data;
81
81
wb_out.ack <= r.wb_ack;
82
82
wb_out.stall <= '0' ; -- never stall wishbone
83
- e_out.irq <= r.irq;
83
+ core_irq_out <= r.irq;
84
84
85
85
comb : process (all )
86
86
variable v : reg_internal_t;
You can’t perform that action at this time.
0 commit comments