URL
https://opencores.org/ocsvn/modular_oscilloscope/modular_oscilloscope/trunk
Show entire file |
Details |
Blame |
View Log
Rev 33 |
Rev 37 |
Line 63... |
Line 63... |
|
|
architecture beh of generic_decoder is
|
architecture beh of generic_decoder is
|
|
|
begin
|
begin
|
|
|
P_convertion: process (data_I, enable_I)
|
P_main: process (data_I, enable_I)
|
variable i: integer range 0 to decoded_O'length-1;
|
variable i: integer range 0 to decoded_O'length-1;
|
begin
|
begin
|
for i in 0 to decoded_O'length-1 loop
|
for i in 0 to decoded_O'length-1 loop
|
if i <= to_integer(unsigned(data_I)) and enable_I = '1' then
|
if i <= to_integer(unsigned(data_I)) and enable_I = '1' then
|
decoded_O(i) <= '1';
|
decoded_O(i) <= '1';
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.