This a FREE tool chain which compiles C codes into 8051 Binary code, converts the Binary to RTL ROM, and simulate in Modelsim.
SDCC is the compiler.
Example compilation:
cd compile
sdcc --iram-size 0x80 --xram-size 0x800 t8051.c
REM sdcc --iram-size 0x80 t8051.c
packihx t8051.ihx > t8051.hex
..\test\mkrom.exe ..\compile\t8051.hex
Process a Binary data stream using a communication system that
consists of a baseband modulator, channel, and demodulator.
Compute the system s bit error rate (BER). Also, display
the transmitted and received signals in a scatter plot.
A heap is a Binary tree satisfying the following
conditions:
This tree is completely balanced.
If the height of this Binary tree is h, then leaves
can be at level h or level h-1.
All leaves at level h are as far to the left as
possible.
The data associated with all descendants of a
node are smaller than the datum associated
with this node.