Changeset 42 for PROJECT_CORE_MPI
- Timestamp:
- Dec 20, 2012, 3:42:59 PM (12 years ago)
- Location:
- PROJECT_CORE_MPI/SWITCH_GEN/BRANCHES/v0.01
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
PROJECT_CORE_MPI/SWITCH_GEN/BRANCHES/v0.01/CoreTypes.vhd
r40 r42 276 276 -- Start of an example image function 277 277 function image(L: bit) return String is 278 constant bit_image: String:= bit'image(L);278 variable bit_image: String(1 to 1) := bit'image(L); 279 279 begin 280 return(bit_image( 2 to 2));280 return(bit_image(1 to 1)); 281 281 end function image; 282 282 283 283 284 284 function image(L: std_logic) return String is 285 variable bit_image: String := std_logic'image(L);285 variable bit_image: String(1 to 1) := std_logic'image(L); 286 286 begin 287 return(bit_image( 2 to 2));287 return(bit_image(1 to 1)); 288 288 end function image; 289 289 -
PROJECT_CORE_MPI/SWITCH_GEN/BRANCHES/v0.01/SWITCH_GEN.vhd
r22 r42 32 32 entity SWITCH_GEN is 33 33 --type portio is array(positive range) of std_logic_vector (7 downto 0); 34 generic(number_of_ports : positive := 8);34 generic(number_of_ports : positive := 4); 35 35 port( 36 36 -- ports d'entree
Note: See TracChangeset
for help on using the changeset viewer.