-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
31 lines (20 loc) · 838 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
RHDL - Ruby Hardware Description Language
RHDL looks similar to VHDL - there are processes which can have sensitivity
lists, and signals.
In the examples subdirectory you'll find a couple of examples:
counter.rb and structural.rb
(the other examples there are 'old-style' RHDL and have not been updated
to the new style yet, so don't bother with them for now)
To run the counter example:
> ruby counter.rb
Other examples which are now up to date:
./examples/structural.rb
./examples/state_machine.rb
./examples/dff.rb (NOTE: you need to install ParseTree to run this one
sudo gem install ParseTree )
./examples/latch.rb
(also see: ./lib/hardware/RHDL/clkgen.rb for the clock generator example)
NOTE: docs are not currently completely up to date.
(now moved to git 11-7-2009)
Phil