Forum
Forum
Verilog-AMS
Analysis
Modeling
Design
Theory
Welcome, Guest. Please
Login
or
Register.
Please follow the Forum
guidelines
.
Apr 1
st
, 2023, 12:57am
Home
Help
Search
Login
Register
PM to admin
The Designer's Guide Community Forum
›
Modeling
›
Behavioral Models
› Machine-Learning-based-Behavioral Modelling
‹
Previous topic
|
Next topic
›
Pages: 1
Machine-Learning-based-Behavioral Modelling (Read 423 times)
rhanna
New Member
Offline
Posts: 4
Machine-Learning-based-Behavioral Modelling
Apr 19
th
, 2021, 6:33am
Hello,
I need your help in debugging/tips to debug a Verilog-A module that I created based on the training of a Recurrent Neural Network (RNN).
The model is supposed to solve the non-linear differential system of equations coming from the RNN representation.
I will summarize everything in steps so that it will be easier to discuss it afterward.
1. I created a testbench for a chain of inverters and got the data (Vin,Iout) in .csv format after interpolation to a timestep=1e-9 s.
Attached testbench:
https://drive.google.com/file/d/1n5uyi9_nTurEUgIai_yb0RWwVqGcYBIx/view?usp=shari...
and sample of Iout:
https://drive.google.com/file/d/1APHkSRnFl5gxAFEDcvrW81Ygpvv7yMO5/view?usp=shari...
and training_data.csv:
https://drive.google.com/file/d/1iKuxfxAz4b-mrt8UOs0gPqNqQfSwCnre/view?usp=shari...
2.Train/test datasets are pre-processed (scaled/normalized/standardized ...) to fit the RNN model used.
After tuning model parameters, it’s tested against unseen stimuli.
Attached learning curves:
https://drive.google.com/file/d/1iF3D_tp4-F8p6B3sVirlBFtKVEoFMdUk/view?usp=shari...
RNN prediction:
https://drive.google.com/file/d/1ufzQZsS19DvamE_oCMx9N6YZoM43tYTD/view?usp=shari...
and parameters matrices:
https://drive.google.com/file/d/1eXxqaCrzyDqMTLY8N0_7Mp8-7QM1GkNP/view?usp=shari...
3. The parameter arrays are flattened to be used as 1-D vectors in the Verilog-A module (since multi-D is not allowed in Verilog-A)
Below, you will find a listing of my code which is basically using Spectre to solve the continuous non-linear system of equations of the RNN model.
code:
https://drive.google.com/file/d/1zbWbgu4UApWolGYfJDxRuryDGtLgmFV1/view?usp=shari...
*** attached summary for the equations and the equivalent circuit of the model.
https://drive.google.com/file/d/1oHXT9a7a_cxw1xfquPQ-Aiv-q2njpI7E/view?usp=shari...
4. results after compiling and running the simulation look like that:
https://drive.google.com/file/d/1wm4wRaL_BK_j0iIwpdDx5-WbwmspQ7h4/view?usp=shari...
which is not really good! I changed alpha to consider different simulation steps but this is the best result.
Sorry for the long post and the many links and thanks in advance to your time.
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-2023
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.