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.

ABEL XST VHDL (ISE 4.2) COUNTER

Status
Not open for further replies.

kollosse

Newbie level 3
Joined
Jul 29, 2003
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
25
ece446 iit

Hi,

i have the following problem (ABEL XST VHDL) ISE 4.2.


Declarations

clk pin 5;
d0 pin 27 istype 'reg';
d1 pin 26 istype 'reg';
d2 pin 25 istype 'reg';
d3 pin 24 istype 'reg';

count=[d3,d2,d1,d0];
Equations
count.CLK = clk;
:?: :?: :?:
// How can i d this??
WHEN (clk rising edge) then
count = count+1;

thanks

Johann
 

I think you just use:

count := count+1;

it uses the rising edge of the count.CLK (if you want to use the falling edge I guess you need to invert the CLK before asigning it to count.CLK)

there is an example in this App:

**broken link removed**

page 4

I hope it helps.

- maestor
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top