Hello, I need help with how to start/solve this - NO ANSWERS PLEASE , just guida
ID: 2268584 • Letter: H
Question
Hello,
I need help with how to start/solve this - NO ANSWERS PLEASE, just guidance. Pictures/drawings to help me understand this problem better/what this problem is looking for would be great!
Could someone also explain to me:
1) What is a ".do script"?
2) What is the difference between a source code and a test bench?
I'm new to VHDL, so any resources or links on how to program with VHDL would be great. Thanks in advance!
Write a VHDL source code for the following four-bit shift register. You ll need to write a test bench and.do script files. Simulate this using the Vivado simulator. Four Bit Shift Register Inputs: din, clock, reset Output: dout The first D flip flop should have its D input connected to a module input and the last D flip flop should have its Q output connected to the module output. Include a clock and a reset to the module. The reset should asynchronously reset all four flip flops. Use a separate process or each D ilip flop.Explanation / Answer
DO SCRIPT command is used to execute a secondary script from inside a ACL script
Syntax:
parameters:
SCRIPT script_name :
This specifies the name of the script to run. can run the secondary scripts in a ACL project. If not can run external scripts stored inside text files in extensions such .aclscript, .txt. or .bat.
IF test:This specifies condition that is evaluated once to determine if the script should be executed.
condition is true script runs or it won't.
WHILE test:
This is a condition runs after the script run and will determine whether the script should run again
b) Test Bench is also an HDL code but it is used to test another HDL code.say if you design a memory block.How do you say that works.For that you write a test bench tht will produce set of inputs and they will generate an output.(You can check whether that is the expected one)
Here are few links
https://www.nandland.com/vhdl/tutorials/tutorial-introduction-to-vhdl-for-beginners.html
http://esd.cs.ucr.edu/labs/tutorial/
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.