LightSimple XoR Design
- File | New Project Wizard
- name of this project? LightSimple
- Click on "next"
- Click on "next"
- Device family: Cyclone V, Devices: Cyclone V SE Mainsteam
- Click on 5CSEMA5F31C6, then select "finish"
- File | New | Block Diagram/Schematic File
- File | Save as LightSimple.bdf
- Click on "Symbol Tool"
- Select altera libraries and expand: | primitives | logic | xor
- Position in center of grid
- Press "Escape" to turn off selected primitive
- Click on "Pin Tool"
- Select "input", place two inputs to left of XOR
- Note: While the input is selected, use the cursor keys to make small adjustments within the grid
- Double click on each default name for pin; top one is SW0; bottom is SW1
- Extend each input pin to the left side of XOR; make sure the connector icon is visable
- Note: If your connecting line extends too far, click on it, then right click and choose delete; pressing the delete key does not work
- Click on "Pin Tool"
- Select "output", place one output to the right of XOR
- Rename default pin name to f (click or right click and choose "properties"
- Optional: Using the "A" symbol, annotate the grid
- Click on the Save icon
- File | Create/Update | Create HDL Design File from Current File
- File Type: VHDL
- File | Open "vhd" file just created
- File | Create/Update | Create Symbol Files for Current File
- Processing | Start Compliation
- Choose "Assignments | Pin Planner"
- Using the values above, select the proper locations for each pin
- F: LOC PIN_V16
- SW0: LOC PIN_AB12
- SW1: LOC Pin_AC12
- Close out Pin Assignment module
- Tools | Programmer
- Click on "Auto Detect"; select 5CSEMA5 and click "OK"
- Double click on 5CSEMA5, select SOF from output_files
- Click on "Program/Configure"; click on "Start"
Return to Projects Section