Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Display array data according to clock pulse

Status
Not open for further replies.

k_cheng_aun2000

Newbie level 4
Newbie level 4
Joined
Jul 9, 2004
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
34
i have a question on how to display an array data one by one according to the clock, which means one clock one data. Thanks
 

Don't quite understand what do you mean by display, if you wish to output an array at once, maybe you can try this:

assuming you have an output pin:
display_array : OUT std_logic_vector(your array size)

then declare a signal:
SIGNAL array_count : INTEGER

PROCESS(clk)
BEGIN
IF clk'EVENT AND clk = '1' THEN
display_array <= your_arrayname(array_count);
array_count <= array_count + 1;
END IF;

END PROCESS;


Just an attempt, pls correct me if I'm wrong.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top