Et4293/ Project

Project Info

Please check this page frequently for additions.

April 23, update

April 11, list of updates, for details see below.

Introduction

The Et4293 project will require to design a so-called Pseudo Random Number Generator (PRNG). This is a counter producing an output sequence that approximates the properties of random numbers. On particular implementation of a PRNG is a so-called linear feedback shift register (LFSR), See LFSR at wikipedia. See Hamburg University for a java-animation of an 8-bit LFSR with the tap-positions as we will use them.

Applications of hardware PRNGs include Spread spectrum communication, Whitening, Monte-carlo simulation, Stream ciphers, Test pattern generation, CRC generation and more.

Our goal will be to develop a PRNG with the following specifications/requirements (also see the Technical Info section below):

The following should be delivered (see below for more details):

Here are the slides with a reference design.

Design Competition

The goal is to achieve the lowest power consumption, given the (fixed) frequency. The following notes can be made:

Technical Info

Test Bench

Here is the test bench for download. You can decompress and untar (using tar xfz Test_bench.tar.gz) this file, the result will be a library folder. After moving this folder into your project folder, you can use this test bench for your design. This is the test bench that we will use for the competition. You should test your design to see if it can be added to the test bench. The supply voltage is variable, to be adapted by you according to your design. Here is the schematic of the test bench.

Please note that the test bench has a separate supply for the LFSR block. It is be the average power delivered by this supply that will be measured. is specified in the section Power Measurement below.

Power Measurement

The technique for power measurement has been described in this link. It has been adapted below.

  1. Change all the subcircuit's Vdd to an inputoutput Pin (you need to get the symbol again after each change)
  2. Change the test_bench's schematic as the test bench schematic with the link above. ( You need to add Vdc to the inputoutput Pin.)
  3. In Analog Design Environment, go to Outputs, Setup, then a window as below (the setting Outputs window) appears.

    setting outputs window

  4. Input the name: avepower (note: the window contains a typo, arvpower).

  5. Click calculator open option for the calculator window to pop up.

    calculator window

  6. In the calculator window, first click (it), then click the positive terminal of Vdc on test_bench Schematics, after this, click the minus sign.

    Then click (vt), then click the wire between Vdc and Vdd pin, After this click, you need click times sign.

    Now you get the Instantaneous power.

  7. Keep the step above, then click the special Functions, find integ, then click.

    Then the integ window pops up. Enter the time slot you want to calculate, then click OK.

    integ window

  8. press enter, click the time slot, like 70n, Then click divide sign /, At this time, the formula should look like the one on graph 3.

  9. In setting Outputs window, click get expression. You will get the expression you just calculated.
  10. click add and OK.

    Then simulate, you will get the average power in Analog Design Environment.

  11. Do not forget to save state.

Submission

You need to submit a tar or zip file containing your design library, that is, the directory/folder with the schematic files.

Report

The project assignment also includes reporting, in the form of a poster + presentation. The report (poster) should show schematic, design rationale, resulting waveforms, ... In particular, the poster should include the following:

Further instructions:

Marks

Due Date

The due date will be Friday Apr 25. This is the of the 3rd week of the next (4th) lecture period. The presentations, posters and competition will be in the afternoon. It is hoped that everybody can participate, please contact me (Nick) if that is not possible.

Note