Forum
Forum
Verilog-AMS
Analysis
Modeling
Design
Theory
Welcome, Guest. Please
Login
or
Register.
Please follow the Forum
guidelines
.
Jul 16
th
, 2024, 3:06pm
Home
Help
Search
Login
Register
PM to admin
The Designer's Guide Community Forum
›
Design Languages
›
Verilog-AMS
› Real numbers multiplication
‹
Previous topic
|
Next topic
›
Pages: 1
Real numbers multiplication (Read 2836 times)
ihabraad
New Member
Offline
Posts: 2
Real numbers multiplication
Feb 28
th
, 2007, 1:58pm
Verilog question (Tripoli – Lebanon)
Real numbers multiplication
Hi;
I nead a help for a verilog simulation program:
I am trying to do a real numbers multiplier in verilog simulation code using ModelSim simulator (without schematic).
The Problem is that Verilog doesn’t accept to define an input as real (register) and when I try to use intermediate real registers before multiplying and put the result also in a real register; verilog around them to integers!!!! L
I am very sad…. :’-( Plz any help?
Ihab – Lebanon (University of Balamand)
10xU
respectfully
Back to top
IP Logged
Ken Kundert
Global Moderator
Offline
Posts: 2386
Silicon Valley
Re: Real numbers multiplication
Reply #1 -
Feb 28
th
, 2007, 10:17pm
In Verilog you can use a 64-bit bus to pass real-valued signals. Then you use real2bits() to convert the real number into the 64 bits, and bits2real() to convert back.
-Ken
Back to top
IP Logged
Pages: 1
‹
Previous topic
|
Next topic
›
Forum Jump »
» 10 most recent Posts
» 10 most recent Topics
Design
- RF Design
- Analog Design
- Mixed-Signal Design
- High-Speed I/O Design
- High-Power Design
- Mixed-Technology Design
Analog Verification
- Analog Functional Verification
- Analog Performance Verification
Measurements
- RF Measurements
- Phase Noise and Jitter Measurements
- Other Measurements
Modeling
- Semiconductor Devices
- Passive Devices
- Behavioral Models
- Transmission Lines and Other Distributed Devices
Design Languages
»» Verilog-AMS
- VHDL-AMS
Simulators
- Circuit Simulators
- RF Simulators
- AMS Simulators
- Timing Simulators
- System Simulators
- Logic Simulators
Other CAD Tools
- Entry Tools
- Physical Verification, Extraction and Analysis
- Unmet Needs in Analog CAD
General
- Tech Talk
- News
- Comments and Suggestions
- Opportunities
« Home
‹ Board
The Designer's Guide Community Forum
» Powered by
YaBB 2.2.2
!
YaBB
© 2000-2008. All Rights Reserved.
Copyright 2002-2024
Designer’s Guide Consulting, Inc.
Designer’s Guide
® is a registered trademark of
Designer’s Guide Consulting, Inc.
All rights reserved.
Send comments or questions to
editor@designers-guide.org
. Consider
submitting
a paper or model.