Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to print 0 (zero) in ASCII using Verilog?

Status
Not open for further replies.

research_vlsi

Advanced Member level 4
Full Member level 1
Joined
Nov 15, 2006
Messages
108
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,298
Activity points
1,902
Hi friends
am unable to convert "0" to ASCII in verilog HDL, however in ascii first 32 characters are non printing char..
so anyone knows how to print 0 (zero) in ASCII using verilog.

whether its possible to print?
 

ASCII in verilog

What kind of variable contains the "0"?
Show us your code to clarify exactly what you are trying to do.
 

ASCII in verilog

that sounds a virtual trouble!!!

Point is

1. Clarify where the'0' is and where u want to print it


2. All u need typically is add 30h or 48d when sending for print or display

and subtract the same when sending input ascii to be processed
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top