SlideShare a Scribd company logo
CSE 241
How to Use Script Command &
Zip Files in UNIX/Linux
Victoria Minorczyk
First enter the directory where the file you want to run is located.
Use the command “cd <name>” as shown above where <name> is the name of the directory.

Notice how the prompt changes to reflect the current directory.
Your prompt should now reflect the directory that your desired file is located.
To view the contents of a directory use the command “ls”.
As you can see, my Verilog file “hw8.v” is located in the “cse241” directory.
To start the script, use the command “script <name>.txt” as shown above, where
<name> is the name what you want to call your script file.
Make sure the file extension is “.txt” Also, if you do not give the script text file a name, it will
default to typescript. After entering this above script command, you will get confirmation that
the script has started. It will also inform you of the script file name, as shown below.
Now that the script has started, you will enter all the commands to run your Verilog
code just as you normally would.
You will start will the iverilog command as shown above. In this step you will link the “.v” file to
the “.vvp”. Then, as shown below, you will use the vvp command with the “.vvp” file you just
created. This step should create the “.vcd” file you will use with gtkwave.
You should get some output from your testbench module after running your vvp command.
This will all be captured by the script. Also note the confirmation message that your “.vcd” dump file was
created.
THIS IN NOT THE OUTPUT FOR YOUR ASSIGNED PROBLEM (5.36). THIS IS THE OUTPUT FOR THE SIMILAR
PROBLEM I WENT OVER IN RECIATION.
Once you get output from your testbench, you may end the script.
To end the script use the command “exit” as shown above. Once entering this command you will
get a confirmation message that the script has stop recording, as shown below.
Now if you use the “ls” command, you will see the script file you just created.
In my case, it is named “hw8.txt” as I specified when I started the script. As shown below, to
view what the script has captured, use the command “more <name>.txt” where <name> is the
name for your script text file.
As you can see,
this
was captured by
the script
command
and displayed
with
the more
command.
Now we are ready to zip up the files.
I would like to zip up all of my homework 8 files. So first, I must enter the directory where
all my homework 8 files are located. In this example I am already in that directory. If you
are not, you the “cd” command earlier in these slides. To zip use the command:
“zip <directory name> <new zip file name>.zip <list of files to be included in new zip>”
In the example below, I use the command “zip csce241 cse241.zip hw8.*”

Because all of my files are named “hw8” I used “hw8.*” to include hw8.v, hw8.vvp, hw8.vcd,
hw8.txt. As you can see, “*” is a wildcard. As shown below, when you enter this command,
you will get a confirmation message telling you all the files that were added to your zip file.
Please note, that I could have also used:
“zip cse241
cse241.zip hw8.v hw8.vvp hw8.vcd
Or, to include every single file in the directory use “*.*” like this:
“zip cse241 cse241.zip *.*”

hw8.txt”

You can now use the “ls” command to see the zip file you have just created, as shown below.
Once you have all the files zipped that you desire to turn in, you may use the
“submit_cse241” as shown below.

After you submit, you should receive a confirmation telling you your submission was successful,
as shown above.

More Related Content

What's hot

2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui
2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui
2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui
Sri Yuyaxdab
 
Cloud Foundry Command Line
Cloud Foundry Command LineCloud Foundry Command Line
Cloud Foundry Command Line
Julia R Nash
 
Netty - anfix tech&beers
Netty - anfix tech&beersNetty - anfix tech&beers
Netty - anfix tech&beersjorgecarabias
 
Installing Python on Mac
Installing Python on MacInstalling Python on Mac
Installing Python on Mac
Wei-Wen Hsu
 
Installing Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu InstanceInstalling Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu Instance
kamarul kawnayeen
 
General fraction
General fractionGeneral fraction
General fraction
Zain ul islam Adil
 
Groovy Powered Clean Code
Groovy Powered Clean CodeGroovy Powered Clean Code
Groovy Powered Clean Code
noamt
 
PHPCS (PHP Code Sniffer)
PHPCS (PHP Code Sniffer)PHPCS (PHP Code Sniffer)
PHPCS (PHP Code Sniffer)
Oleksii Prohonnyi
 
Project 2 - how to compile os161?
Project 2 - how to compile os161?Project 2 - how to compile os161?
Project 2 - how to compile os161?
Xiao Qin
 
CP3108B (Mozilla) Sharing Session on Add-on SDK
CP3108B (Mozilla) Sharing Session on Add-on SDKCP3108B (Mozilla) Sharing Session on Add-on SDK
CP3108B (Mozilla) Sharing Session on Add-on SDK
Mifeng
 
Instalasi Network Monitoring System (Nagios) Ubuntu 12.04
Instalasi Network Monitoring System (Nagios) Ubuntu 12.04Instalasi Network Monitoring System (Nagios) Ubuntu 12.04
Instalasi Network Monitoring System (Nagios) Ubuntu 12.04Febi Gelar Ramadhan
 
Install apache on centos
Install apache on centosInstall apache on centos
Install apache on centoshengko
 
Scaling antispam solutions with Puppet
Scaling antispam solutions with PuppetScaling antispam solutions with Puppet
Scaling antispam solutions with Puppet
Giovanni Bechis
 
Write book in markdown
Write book in markdownWrite book in markdown
Write book in markdown
Larry Cai
 
How to add system calls to OS/161
How to add system calls to OS/161How to add system calls to OS/161
How to add system calls to OS/161
Xiao Qin
 
Running openCV project on Mac OS
Running openCV project on Mac OSRunning openCV project on Mac OS
Running openCV project on Mac OS
Wei-Wen Hsu
 
Test Kitchen and Infrastructure as Code
Test Kitchen and Infrastructure as CodeTest Kitchen and Infrastructure as Code
Test Kitchen and Infrastructure as Code
Cybera Inc.
 
Buffer overflow for Beginners
Buffer overflow for BeginnersBuffer overflow for Beginners
Buffer overflow for Beginners
Ajin Abraham
 

What's hot (20)

2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui
2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui
2. untuk mengganti repository debian ke repo local seperti repo kambing milik ui
 
Autoexec32(2)
Autoexec32(2)Autoexec32(2)
Autoexec32(2)
 
Cloud Foundry Command Line
Cloud Foundry Command LineCloud Foundry Command Line
Cloud Foundry Command Line
 
Netty - anfix tech&beers
Netty - anfix tech&beersNetty - anfix tech&beers
Netty - anfix tech&beers
 
Installing Python on Mac
Installing Python on MacInstalling Python on Mac
Installing Python on Mac
 
Installing Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu InstanceInstalling Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu Instance
 
General fraction
General fractionGeneral fraction
General fraction
 
Groovy Powered Clean Code
Groovy Powered Clean CodeGroovy Powered Clean Code
Groovy Powered Clean Code
 
PHPCS (PHP Code Sniffer)
PHPCS (PHP Code Sniffer)PHPCS (PHP Code Sniffer)
PHPCS (PHP Code Sniffer)
 
Project 2 - how to compile os161?
Project 2 - how to compile os161?Project 2 - how to compile os161?
Project 2 - how to compile os161?
 
CP3108B (Mozilla) Sharing Session on Add-on SDK
CP3108B (Mozilla) Sharing Session on Add-on SDKCP3108B (Mozilla) Sharing Session on Add-on SDK
CP3108B (Mozilla) Sharing Session on Add-on SDK
 
Instalasi Network Monitoring System (Nagios) Ubuntu 12.04
Instalasi Network Monitoring System (Nagios) Ubuntu 12.04Instalasi Network Monitoring System (Nagios) Ubuntu 12.04
Instalasi Network Monitoring System (Nagios) Ubuntu 12.04
 
Install apache on centos
Install apache on centosInstall apache on centos
Install apache on centos
 
Scaling antispam solutions with Puppet
Scaling antispam solutions with PuppetScaling antispam solutions with Puppet
Scaling antispam solutions with Puppet
 
Write book in markdown
Write book in markdownWrite book in markdown
Write book in markdown
 
How to add system calls to OS/161
How to add system calls to OS/161How to add system calls to OS/161
How to add system calls to OS/161
 
Running openCV project on Mac OS
Running openCV project on Mac OSRunning openCV project on Mac OS
Running openCV project on Mac OS
 
Test Kitchen and Infrastructure as Code
Test Kitchen and Infrastructure as CodeTest Kitchen and Infrastructure as Code
Test Kitchen and Infrastructure as Code
 
!!! Huong dan !!!
!!! Huong dan !!!!!! Huong dan !!!
!!! Huong dan !!!
 
Buffer overflow for Beginners
Buffer overflow for BeginnersBuffer overflow for Beginners
Buffer overflow for Beginners
 

Viewers also liked

Candy Vidal Resume 2015
Candy Vidal Resume 2015Candy Vidal Resume 2015
Candy Vidal Resume 2015Candy Vidal
 
A. Prestininzi - NHAZCA Open Day
A. Prestininzi - NHAZCA Open DayA. Prestininzi - NHAZCA Open Day
A. Prestininzi - NHAZCA Open Dayalfredorocca
 
S. Cardellini - NHAZCA Open Day
S. Cardellini - NHAZCA Open DayS. Cardellini - NHAZCA Open Day
S. Cardellini - NHAZCA Open Dayalfredorocca
 
The acropolis
The acropolisThe acropolis
The acropolis
stafilakou67
 
F. Bozzano - NHAZCA Open Day
F. Bozzano - NHAZCA Open DayF. Bozzano - NHAZCA Open Day
F. Bozzano - NHAZCA Open Dayalfredorocca
 
Pohatu2013 meettheteacher
Pohatu2013 meettheteacherPohatu2013 meettheteacher
Pohatu2013 meettheteachernikkijelangford
 
χελιδονισματα- the swallow song
χελιδονισματα- the swallow songχελιδονισματα- the swallow song
χελιδονισματα- the swallow song
stafilakou67
 

Viewers also liked (9)

Greek dishes
Greek dishesGreek dishes
Greek dishes
 
Candy Vidal Resume 2015
Candy Vidal Resume 2015Candy Vidal Resume 2015
Candy Vidal Resume 2015
 
Lab 4
Lab 4Lab 4
Lab 4
 
A. Prestininzi - NHAZCA Open Day
A. Prestininzi - NHAZCA Open DayA. Prestininzi - NHAZCA Open Day
A. Prestininzi - NHAZCA Open Day
 
S. Cardellini - NHAZCA Open Day
S. Cardellini - NHAZCA Open DayS. Cardellini - NHAZCA Open Day
S. Cardellini - NHAZCA Open Day
 
The acropolis
The acropolisThe acropolis
The acropolis
 
F. Bozzano - NHAZCA Open Day
F. Bozzano - NHAZCA Open DayF. Bozzano - NHAZCA Open Day
F. Bozzano - NHAZCA Open Day
 
Pohatu2013 meettheteacher
Pohatu2013 meettheteacherPohatu2013 meettheteacher
Pohatu2013 meettheteacher
 
χελιδονισματα- the swallow song
χελιδονισματα- the swallow songχελιδονισματα- the swallow song
χελιδονισματα- the swallow song
 

Similar to Cse 241

Adding System Call to Kernel
Adding System Call to KernelAdding System Call to Kernel
Adding System Call to Kernel
Muhammad Bilal
 
How to export import a mysql database via ssh in aws lightsail wordpress rizw...
How to export import a mysql database via ssh in aws lightsail wordpress rizw...How to export import a mysql database via ssh in aws lightsail wordpress rizw...
How to export import a mysql database via ssh in aws lightsail wordpress rizw...
AlexRobert25
 
Linux intro 4 awk + makefile
Linux intro 4  awk + makefileLinux intro 4  awk + makefile
Linux intro 4 awk + makefile
Giovanni Marco Dall'Olio
 
Presentacio.pptx
Presentacio.pptxPresentacio.pptx
Presentacio.pptx
gdscudg
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
guest34a3a419
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
Jayanta Dash
 
Docker Starter Pack
Docker Starter PackDocker Starter Pack
Docker Starter Pack
Saeed Hajizade
 
How do I update the crawford slackware box so that it is running the most up ...
How do I update the crawford slackware box so that it is running the most up ...How do I update the crawford slackware box so that it is running the most up ...
How do I update the crawford slackware box so that it is running the most up ...
Paul Prawdzik
 
Linux container internals
Linux container internalsLinux container internals
Linux container internals
Ashwin Bilgi
 
Terminal commands ubuntu 2
Terminal commands ubuntu 2Terminal commands ubuntu 2
Terminal commands ubuntu 2
raj upadhyay
 
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docxPart 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
karlhennesey
 
Installation of OpenBiblio on Windows XP using EasyPHP
Installation of OpenBiblio on Windows XP using EasyPHPInstallation of OpenBiblio on Windows XP using EasyPHP
Installation of OpenBiblio on Windows XP using EasyPHP
Rupesh Kumar
 
Installing Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for WindowsInstalling Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for Windows
Jonathan Bloom
 
Getting started with PHPUnit
Getting started with PHPUnitGetting started with PHPUnit
Getting started with PHPUnit
Khyati Gala
 
Deploying your rails application to a clean ubuntu 10
Deploying your rails application to a clean ubuntu 10Deploying your rails application to a clean ubuntu 10
Deploying your rails application to a clean ubuntu 10
Maurício Linhares
 

Similar to Cse 241 (20)

Adding System Call to Kernel
Adding System Call to KernelAdding System Call to Kernel
Adding System Call to Kernel
 
How to export import a mysql database via ssh in aws lightsail wordpress rizw...
How to export import a mysql database via ssh in aws lightsail wordpress rizw...How to export import a mysql database via ssh in aws lightsail wordpress rizw...
How to export import a mysql database via ssh in aws lightsail wordpress rizw...
 
instaling
instalinginstaling
instaling
 
instaling
instalinginstaling
instaling
 
instaling
instalinginstaling
instaling
 
instaling
instalinginstaling
instaling
 
Linux intro 4 awk + makefile
Linux intro 4  awk + makefileLinux intro 4  awk + makefile
Linux intro 4 awk + makefile
 
Unix commands
Unix commandsUnix commands
Unix commands
 
Presentacio.pptx
Presentacio.pptxPresentacio.pptx
Presentacio.pptx
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
 
Mantis Installation for Windows Box
Mantis Installation for Windows BoxMantis Installation for Windows Box
Mantis Installation for Windows Box
 
Docker Starter Pack
Docker Starter PackDocker Starter Pack
Docker Starter Pack
 
How do I update the crawford slackware box so that it is running the most up ...
How do I update the crawford slackware box so that it is running the most up ...How do I update the crawford slackware box so that it is running the most up ...
How do I update the crawford slackware box so that it is running the most up ...
 
Linux container internals
Linux container internalsLinux container internals
Linux container internals
 
Terminal commands ubuntu 2
Terminal commands ubuntu 2Terminal commands ubuntu 2
Terminal commands ubuntu 2
 
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docxPart 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
 
Installation of OpenBiblio on Windows XP using EasyPHP
Installation of OpenBiblio on Windows XP using EasyPHPInstallation of OpenBiblio on Windows XP using EasyPHP
Installation of OpenBiblio on Windows XP using EasyPHP
 
Installing Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for WindowsInstalling Hortonworks Hadoop for Windows
Installing Hortonworks Hadoop for Windows
 
Getting started with PHPUnit
Getting started with PHPUnitGetting started with PHPUnit
Getting started with PHPUnit
 
Deploying your rails application to a clean ubuntu 10
Deploying your rails application to a clean ubuntu 10Deploying your rails application to a clean ubuntu 10
Deploying your rails application to a clean ubuntu 10
 

Recently uploaded

From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 

Recently uploaded (20)

From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 

Cse 241

  • 1. CSE 241 How to Use Script Command & Zip Files in UNIX/Linux Victoria Minorczyk
  • 2. First enter the directory where the file you want to run is located. Use the command “cd <name>” as shown above where <name> is the name of the directory. Notice how the prompt changes to reflect the current directory. Your prompt should now reflect the directory that your desired file is located.
  • 3. To view the contents of a directory use the command “ls”. As you can see, my Verilog file “hw8.v” is located in the “cse241” directory.
  • 4. To start the script, use the command “script <name>.txt” as shown above, where <name> is the name what you want to call your script file. Make sure the file extension is “.txt” Also, if you do not give the script text file a name, it will default to typescript. After entering this above script command, you will get confirmation that the script has started. It will also inform you of the script file name, as shown below.
  • 5. Now that the script has started, you will enter all the commands to run your Verilog code just as you normally would. You will start will the iverilog command as shown above. In this step you will link the “.v” file to the “.vvp”. Then, as shown below, you will use the vvp command with the “.vvp” file you just created. This step should create the “.vcd” file you will use with gtkwave.
  • 6. You should get some output from your testbench module after running your vvp command. This will all be captured by the script. Also note the confirmation message that your “.vcd” dump file was created. THIS IN NOT THE OUTPUT FOR YOUR ASSIGNED PROBLEM (5.36). THIS IS THE OUTPUT FOR THE SIMILAR PROBLEM I WENT OVER IN RECIATION.
  • 7. Once you get output from your testbench, you may end the script. To end the script use the command “exit” as shown above. Once entering this command you will get a confirmation message that the script has stop recording, as shown below.
  • 8. Now if you use the “ls” command, you will see the script file you just created. In my case, it is named “hw8.txt” as I specified when I started the script. As shown below, to view what the script has captured, use the command “more <name>.txt” where <name> is the name for your script text file.
  • 9. As you can see, this was captured by the script command and displayed with the more command.
  • 10. Now we are ready to zip up the files. I would like to zip up all of my homework 8 files. So first, I must enter the directory where all my homework 8 files are located. In this example I am already in that directory. If you are not, you the “cd” command earlier in these slides. To zip use the command: “zip <directory name> <new zip file name>.zip <list of files to be included in new zip>” In the example below, I use the command “zip csce241 cse241.zip hw8.*” Because all of my files are named “hw8” I used “hw8.*” to include hw8.v, hw8.vvp, hw8.vcd, hw8.txt. As you can see, “*” is a wildcard. As shown below, when you enter this command, you will get a confirmation message telling you all the files that were added to your zip file.
  • 11. Please note, that I could have also used: “zip cse241 cse241.zip hw8.v hw8.vvp hw8.vcd Or, to include every single file in the directory use “*.*” like this: “zip cse241 cse241.zip *.*” hw8.txt” You can now use the “ls” command to see the zip file you have just created, as shown below.
  • 12. Once you have all the files zipped that you desire to turn in, you may use the “submit_cse241” as shown below. After you submit, you should receive a confirmation telling you your submission was successful, as shown above.