Professional Documents
Culture Documents
Page | 1
What does the AnadigmDesigner2 software do?
AnadigmDesigner2 allows one to quickly create and test analog circuits.
Pre-packaged analog circuit blocks called "CAMs" may be selected and placed within
a "chip". The CAMs placed within a chip may then be "wired" together to form a
more complex circuit. There is a built-in simulator that may then be used to examine
the behaviour of the entire circuit.
The built-in simulator allows one to place "signal generators" and "oscilloscope
probes."
The results of the last simulation are saved so that the oscilloscope probes may be
moved from node to node to examine the behaviour of the circuit as if it were an
actual circuit on a lab bench.
After one is sure that the circuit is behaving as planned, one may then download the
configuration bit stream to the Anadigm evaluation board. The download operation
will program the chip so that the chip will immediately begin to behave as the circuit
that was designed.
The configuration bit stream may be downloaded directly to the Anadigm evaluation
board via the PC’s serial port. One may then examine the actual electrical behaviour
of the circuit embodied within the chip by using signal generators and oscilloscopes
attached to probe points on the Anadigm evaluation board.
The bit stream may also be downloaded to files of various formats suitable for use
with ROM burners. This allows Anadigm Field Programmable Arrays to be
programmed from ROM chips.
There are also systems to generate C code to assist the embedded system designer
who is doing dynamic configuration of the Anadigm FPAA under microprocessor
control.
Software Installation
If you do not already have Anadigmdesigner2 on your PC. Insert the
software/documentation CD-ROM into your PC’s CD-ROM drive. The software should
automatically prompt you for installation. (Note: Anadigm’s web site has the most
up to date version of the software.)
After you have installed the software, you will need to register your copy of the
software with Anadigm® online at http://www.anadigm.com/Lic_step_1.asp
For registration you will need first to create a MyAnadigm account, then follow the
web site instructions to licence your software – (please use your real email address)
Once you have registered online, a license ID and a license key will be e-mailed to
you.
Please enter these in the registration dialog box of the AnadigmDesigner®2 software.
You are now ready to use the world’s first FPAA design software.
Page | 2
Configuring FPAA board
1. To configure the FPAA board, connect the USB cable between the board and a
computer.
2. Open AnadigmDesigner®2 (AD2) on the computer and go to the Settings menu, then
select Preferences.
3. Click on the Port tab. In the drop down menu under “Select Port” there should be a
COM port corresponding to the Anadigm board. It’s a virtual COM port. COM port
will have no label indicating that it is the Anadigm board, so if the computer has
other device.
4. Once connected to COM ports (real or virtual) then there may be more than one
COM port appearing in the drop down box. In this case it may be necessary to do
some trial and error to determine which port corresponds to FPAA board. Select the
appropriate COM port. Click on Apply, and then click on OK.
5. To check that AD2 is now able to communicate with the board, go to the Target
menu and select Display board Information. Below pop-up window will appear if the
FPAA board is successfully connected to the Anadigm Designer2.
6. Now board is ready for configuration. For configuration, click “configure” from the
tool bar and then click write data to serial port. Alternatively press ctrl ‘W’.
7. A yellow LED next to the microcontroller will flash as FPAA is configured, and finally a
green LED will turn on to indicate that FPAA have been configured correctly. A red
LED will indicate if configuration fails.
Page | 3
1. GAIN INVERTER
a – Static Configuration
Objective
Build a Circuit that inverts as well as amplifies the input signal.
Demonstration Hardware Requirements
1. FPAA Trainer Kit.
2. Standard serial (USB) programming cable and Power Supply.
3. AnadigmDesigner2 Software loaded on your computer.
4. Oscilloscope and Probes.
Design Steps
1. Within the AnadigmDesigner2, double click the left mouse button, it will show up the
chip clock divider settings;
2. Set the FPAA clock accordingly. For this experiment, we will select the CAM clock as
4000 KHz.
3. “Press the `M’ keystroke” and select “OscillatorSine” by double click and place inside
the FPAA. Set the parameter of OscillatorSine CAM as
Oscillator Freq =50 KHz and Peak Amplitude = 2V.
4. Similarly Place the GainInv CAM next to OscillatorSine. Set the parameter as Gain =
1 (or Desired Gain).
Page | 4
5. Make the connections by routing the wire from one CAM to other. You will be
allowed to start or terminate the wire with single left click on mouse button.
Page | 5
b – Dynamic Configuration
application file named as Inverter_Gain , GUI will open and move the slider
to dynamically reconfigure the FPAA.
Page | 6
2. FULL WAVE RECTIFIER
Objective
Build a Circuit that Filters and Rectifies a Signal.
Design Steps
1. Place the OscillatorSine CAM by pressing the `M’ keystroke. Set the parameters as
Oscillator Freq = 100 KHz and Peak Amplitude = 1.5V.
2. Place the RectifierFilter CAM next to Oscillator Sine. Set the parameters as, Corner
frequency = 100 KHz and Gain = 1
Page | 7
3. Place FilterBiquad and then select Low Pass filter. Set the parameter as given below
for both the FilterBiquad CAMs. Corner Frequency = 40 KHz, Gain = 1 and Quality
factor = 0.707.Change the polarity of the filter to Non-inverting by selecting the
respective radio button.
5. Assign the output of OscillatorSine to IO cell 5 & output of 2nd FilterBiquad to the IO
cell 7.
Page | 8
Powering up the Development Board
Now, connect the oscilloscope probe1 to the Basic Output Jumper (J65) and oscilloscope
probe2 to Filter Output (J64) Jumper of FPAA. You can see the rectified Output signal in the
oscilloscope screen.
Page | 9
3. VOLTAGE CONTROLLED OSCILLATOR
a – Static Configuration
Objective
1. Open AnadigmDesigner2 and select “Continue with Default Chip (AN231E04)” (if the
chip selected is not AN231E04 you need to change it using “Choose a Different Chip”
and then select AN231E04 chip.
2. Within the AnadigmDesigner2, double click the left mouse button, it will show up the
chip clock divider settings;
3. For this experiment, we will set the CAM clock as 2000 KHz. To achieve this, set the
FPAA clock accordingly.
Design Steps:
1. Place the VCO CAM. Set the parameters as
2. Centre frequency as 20 KHZ and Frequency variation as 80%.
Page | 10
3. Connect input to IO cell 2 and first output to the IO cell 5 and second output to the
IO cell 7 of FPAA 2.
1. Now connect the oscilloscope probe 1 to Basic Output (J65) Jumper and oscilloscope
probe 2 Filter output (J64) jumper of FPAA board.
2. Now check the variation in the frequency of the VCO by varying the potentiometer
Page | 11
b- Dynamic Configuration
named as VCO , GUI will open and move the slider to dynamically
reconfigure the FPAA.
Page | 12
4. TONE (NOISE) GENERATION AND NOTCH FILTER
Objective
1. Design and implement a circuit that adds noise (by frequency tone) to an audio
signal and then remove the noise using band-stop (notch) filter.
2. Learn to design & implement complex Analog circuits rapidly using FPAA.
3. Learn to design & implement Analog signal processing (low frequency signals like
audio, biomedical, etc) rapidly using FPAA.
Page | 13
4. Insert OscillatorSine CAM on FPAA1 and set parameters as follows. Oscillator
Frequency = 0.9 KHz and Peak amplitude = 1.33V.
5. Now insert the FilterBiquad CAM, Select Filter Types as Band Stop (Notch) and set
parameters as follows: Corner Frequency = 0.9 KHz, Dc Gain = 1, High Freq gain = 1,
Q-factor = 0.707.
6. Assign Amplifier (Filter) as input on IOCell3 and IOCell 4 and Output (Bypass) to
IOCell6 and IOCell7
7. Now make the connections as shown in the above figure
Page | 14
Powering up the Development Board
1. Connect a +5V power supply to the jack socket input.
2. There is a green LED to indicate that the board is successfully powered up.
1. Now connect the audio cable input to the Audio Input(J4) Jumper feed any audio
source, say for example from mobile phone.
2. Connect the Headphone/Speaker to the Audio Output J25 Jumper
3. Play favourite music from your cell phone.
4. Now Change the frequency of OscillatorSine from 0.9 kHz to 1.0 kHz.
5. The frequency tone (i.e. noise) will appear on one channel.
6. Modify the FilterBiquad parameters to filter the noise (i.e. from 0.9 kHz to 1.0 kHz).
The band-stop (notch) circuit will suppress the noise tone.
7. Similarly change various parameters like peak Amplitude of OscillatorSine and
observe the noise, by setting different filter parameters at FilterBiquad.
8. Same changes can be done at other channel and observe the output accordingly.
Page | 15
5. REALIZATION OF FILTERS (LP, HP, BP, BS) – USING ANADIGMFILTER TOOL
Objective
1. Learn various Filter types and its approximation.
2. Understanding Filter frequency response using AnadigmFilter Tool.
3. Design complex, high order filters & implement in minutes.
Page | 16
Design Steps:
2. Select Filter Type & Approximation. For example Low Pass filter & Butterworth
Approximation as shown
Page | 17
3. Define the parameters of the Low pass filter as follows, Pass Band Freq as 100KHz
and Stop Band freq as 200KHz and Uncheck the automatically adjust clock.
Page | 18
5. Make the Connection by wiring the circuit,
Page | 19