Skip to content

hpaluch/crii-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sandbox project for CoolRunner-II CPLD Starter Board

Here are "work-in-progress" projects for Digilent CoolRunner-II CPLD Starter Board

Current sandbox projects:

  • tut01-swleds/ - most-trivial project in Verilog.

    • control LED LD0 & LD1 with Button BTN0
    • control LED LD2 & LD3 with Button BTN1
  • tut02-blink/ - most simple blinking LEDs demo

    • BTN0 (right button!) is counter RESET when pressed
    • BTN1 (left button!) is HOLD counter when pressed (internally there is inverted signal called CE (Counting Enabled))
  • tut03-disp/ - hexadecimal counter on 4 digit, 7 segment LED display and lowest 4-bits on LEDs

    • BTN0 (right button) to RESET counter
    • BTN1 (left button) to HOLD counter

General notes:

  • you need to create manually HDL project - ISE generally does not support Git or any other revision system well (Vivado is a bit better - it can generate TCL script capable of creating full project and adding files to it from CLI)
  • keep "Top-level source type:" HDL (this includes both Verilog and VHDL)
  • selecting XC2C256 device, 144 pins, package TQ144, speed 7ns
    • set filters to:
      • Family: CoolRunner2 CPLDs
      • Device: XC2C256
      • Package: TQ144
      • Speed: -7
      • all other options can be left default.
  • click Next and Finish to create project
  • then add copy of constraint file (*.ucf) - it defines used Pins that will be mapped to Verilog module.
  • next add copy of Verilog top module (top.v)
  • Run Implement Design - it will create bitstream file top.jed (JEDEC)
  • Then run iMPACT, select boundary scan
  • add top.jed and select Programm

Required Hardware:

Required Software:

  • Xilinx ISE Webpack 14.7 - official VM, can be downloaded from:
    • https://account.amd.com/en/forms/downloads/xef.html?filename=Xilinx_ISE_14.7_Win10_14.7_VM_0213_1.zip
    • unpack above zip and import ova/14.7_VM.ova to your VirtualBox
    • or you can use normal installer, however only Win7 or XP are supported. I tried it under Win10, but some features cause crash (for example file dialogs will crash ISE)
    • Workaround for File Dialog crash under Win 10:
      • use 32-bit version of ISE (there is launch icon available)
    • also note that iMPACT works fine (even 64-bit version) under Win10

Tips

Where to start? Go to

There are all important files:

Really nice set of VHDL and Verilog Tutorials from AMD/Xilinx:

Resources:

About

Digilent CoolRunner II sandbox projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published