URL
https://opencores.org/ocsvn/openmsp430/openmsp430/trunk
Show entire file |
Details |
Blame |
View Log
Rev 111 |
Rev 134 |
Line 29... |
Line 29... |
//
|
//
|
// *Author(s):
|
// *Author(s):
|
// - Olivier Girard, olgirard@gmail.com
|
// - Olivier Girard, olgirard@gmail.com
|
//
|
//
|
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
// $Rev: 111 $
|
// $Rev: 134 $
|
// $LastChangedBy: olivier.girard $
|
// $LastChangedBy: olivier.girard $
|
// $LastChangedDate: 2011-05-20 22:39:02 +0200 (Fri, 20 May 2011) $
|
// $LastChangedDate: 2012-03-22 21:31:06 +0100 (Thu, 22 Mar 2012) $
|
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
`ifdef OMSP_NO_INCLUDE
|
`ifdef OMSP_NO_INCLUDE
|
`else
|
`else
|
`include "openMSP430_defines.v"
|
`include "openMSP430_defines.v"
|
`endif
|
`endif
|
Line 147... |
Line 147... |
|
|
reg [8*32-1:0] e_state;
|
reg [8*32-1:0] e_state;
|
|
|
always @(e_state_bin)
|
always @(e_state_bin)
|
case(e_state_bin)
|
case(e_state_bin)
|
4'h0 : e_state = "IRQ_0";
|
4'h2 : e_state = "IRQ_0";
|
4'h1 : e_state = "IRQ_1";
|
4'h1 : e_state = "IRQ_1";
|
4'h2 : e_state = "IRQ_2";
|
4'h0 : e_state = "IRQ_2";
|
4'h3 : e_state = "IRQ_3";
|
4'h3 : e_state = "IRQ_3";
|
4'h4 : e_state = "IRQ_4";
|
4'h4 : e_state = "IRQ_4";
|
4'h5 : e_state = "SRC_AD";
|
4'h5 : e_state = "SRC_AD";
|
4'h6 : e_state = "SRC_RD";
|
4'h6 : e_state = "SRC_RD";
|
4'h7 : e_state = "SRC_WR";
|
4'h7 : e_state = "SRC_WR";
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.