Altera_Forum
Honored Contributor
15 years agoI need help just understanding this program for class
Hi all:
I am a newbie to the Altera platform, well really a newbie to all programming. I have to use this program to design and simulate digital circuits. I am have no problems writing out the TDF or text file for it. However, when it comes to saving it and compiling it I am running into errors and I am even trying to use the tutorials and they are confusing me even more. Can someone please help me learn this program and what all I can do with it and/or what steps I need to take to build these circuits. First one, is this: % Memory IC Activation in AHDL (FIG 3-39) March 30, 2010 % SUBDESIGN lab_two ( rd, ra, rc, rm : input; -- inputs for rd, ROM-A, ROM-B, & RAM mem_low : output; -- output for memory activation ) VARIABLE V, W, Z, Y : NODE; -- my intermediate nodes BEGIN Z = !rd; -- buried node for inverter no. 1 W = !ra# !rc; -- buried node of NOR gate V = !rm; -- buried node for inverter no.2 Y = V# W; -- buried node of my OR gate mem_low = Z & Y; -- this is the result of my products END;