The Elevator Lab
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Active In SP

Posts: 1,124
Joined: Jun 2010
27-11-2010, 10:33 AM

The Elevator Lab

This lab will lead you through slightly more advanced topics of the Bluespec System Verilog language and the usage of the Bluespec compiler, Bluesim simulator and the Bluespec development workstation. In each part you will find a description of the actual code you will have to generate and how to use and invoke each of the previously mentioned tools.
Note 1: The directory $BLUESPECDIR/../doc/BSV contains very useful documentation that includes the Language Reference Guide, User Guide, Known Problems and Solutions and Style Guide among others.
In the BLUESPECDIR/../training/BSV/examples directory you will find some useful examples for future reference.
The full set of training materials, documentation, and examples can be accessed from the file $BLUESPECDIR/index.html.

Note 2: you might want to run simulations of the generated Verilog code using your favorite Verilog simulator.
bsc e <topName> vsim
<simulator> <verilogFile>
You provide the name of the simulator after the vsim option. Currently the natively supported simulors are: vcs, vcsi, ncverilog, modelsim, cver, iverilog, and veriwell.

In this lab we will focus in the CABIN SYSTEM, which comprises the CABIN CONTROL module and the KEYBOARD CONTROL module, grayed parts in the figure. The CABIN SYSTEM interfaces to the external NEXTFLOOR CONTROL, MOTOR, KEYBOARD and SENSORS modules which will be actually part of out testbenches.
CABIN SYSTEM Interfaces explanation: KEYBOARD
• pressedButtons is a bus whose width is the number of floors in the building. Each line in the bus indicates if the correspondent button has been pressed in the cabin's keyboard. Each bit in the button bus is sticky, i.e. once is set, it will remain in this state until it is reset by the corresponding resetButtons signal.
• resetButtons is a bus whose width is the number of floors in the building. Each line in the bus indicates if the correspondent button has to be reset in the cabin's keyboard

• reachedFloor is a bus that indicates the reached floor. Its width is the minimum needed to index all the floors in the building. This signal is used by the KEYBOARD CONTROL to generate the resetButtons signal

For more information about this article,please follow the link:

Important Note..!

If you are not satisfied with above reply ,..Please


So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page

Quick Reply
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  SCROLLING MESSAGE DISPLAY LAB MANUAL study tips 0 399 08-06-2013, 12:29 PM
Last Post: study tips
  PARITY CHECKER LAB MANUAL study tips 0 265 08-06-2013, 12:29 PM
Last Post: study tips
  SIMPLE ALARM SYSTEM LAB MANUAL study tips 0 313 08-06-2013, 12:28 PM
Last Post: study tips
  Three-dimensional micromachining of glass using femtosecond laser for lab-on-a-chip project girl 0 319 02-02-2013, 11:44 AM
Last Post: project girl
  IEEE Projects in Power Systems on MAT Lab Programming project topics 1 3,966 11-01-2013, 10:14 AM
Last Post: seminar tips
  Project Report FPGA IMPLEMENTATION OF ELEVATOR CONTROL project girl 0 662 26-12-2012, 06:59 PM
Last Post: project girl
  elevator controller design seminar presentation 5 9,847 10-10-2012, 05:58 PM
Last Post: ketan017
  Simulation Based Design of a High-Speed Elevator System ppt seminar flower 0 818 12-09-2012, 05:33 PM
Last Post: seminar flower
  QPSK SCHEME USING MET LAB PPT seminar flower 0 408 18-08-2012, 10:31 AM
Last Post: seminar flower
  DESIGN OF DUAL ELEVATOR CONTROLLER seminar ideas 1 1,807 11-08-2012, 10:17 AM
Last Post: seminar ideas