URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Subversion Repositories open8_urisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/open8_urisc
- from Rev 334 to Rev 335
- ↔ Reverse comparison
Rev 334 → Rev 335
/trunk/TaskMan.zip
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/VHDL/o8_version.vhd
47,10 → 47,10
|
entity o8_version is |
generic( |
Minor_Version : DATA_TYPE := x"00"; |
Major_Version : DATA_TYPE := x"00"; |
SoC_Version : DATA_TYPE := x"00"; |
Hardware_Version : DATA_TYPE := x"00"; |
Minor_Version : integer range 0 to 255 := 0; |
Major_Version : integer range 0 to 255 := 0; |
SoC_Version : integer range 0 to 255 := 0; |
Hardware_Version : integer range 0 to 255 := 0; |
Address : ADDRESS_TYPE |
); |
port( |
94,13 → 94,13
if( Rd_En_q = '1' )then |
case( Reg_Sel_q )is |
when "00" => |
Rd_Data <= Minor_Version; |
Rd_Data <= conv_std_logic_vector(Minor_Version,OPEN8_DATA_WIDTH); |
when "01" => |
Rd_Data <= Major_Version; |
Rd_Data <= conv_std_logic_vector(Major_Version,OPEN8_DATA_WIDTH); |
when "10" => |
Rd_Data <= Soc_Version; |
Rd_Data <= conv_std_logic_vector(Soc_Version,OPEN8_DATA_WIDTH); |
when "11" => |
Rd_Data <= Hardware_Version; |
Rd_Data <= conv_std_logic_vector(Hardware_Version,OPEN8_DATA_WIDTH); |
when others => |
null; |
end case; |