pdf viewer dll for c# : How to add an image to a pdf control SDK platform web page wpf azure web browser plugin_ism8-part2702

Chap
t
er8
: D
ebugg
i
ng
D
e
l
e
t
i
ngBreakpo
i
n
t
s
WhenworkingwithISim,youcandeletebreakpointsfromyourHDLsourcecodeasfollows.
ToRemoveaBreakpo
i
n
t
Useoneofthefollowingmethods:
Clickthesimulationbreakpointicon
.
AttheTclprompt:
1. Enter
bp list
tolistallbreakpointsinyourdesignandshowseachbreakpointindexnumberand
linenumber.
2. Enter
bp del
or
bp remove
followedbythebreakpointindexnumberofthebreakpointyouwishto
remove. SeesyntaxandexamplesinbpCommand.
No
t
e
YoucanalsoremoveabreakpointintheBreakpointsPanelbyselectingabreakpointandusingthe
Deletecontext-menucommand,ortheDeleteicon
.
Thesinglebreakpointisdeleted.
ToRemove
All
Breakpo
i
n
t
s
Useoneofthefollowingmethods:
SelectView>Breakpoint>DeleteAllBreakpoints.
ClicktheDeleteAllBreakpointstoolbarbutton
.
Enter
bp clear
attheTclprompt.
AllbreakpointsinallHDLfilesaredeleted.
I
S
i
mUser
G
u
i
de
U
G
660(v11.
3
)
Sep
t
ember16,2
00
9
www.x
ili
nx.com
81
How to add an image to a pdf - insert images into PDF in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Sample C# code to add image, picture, logo or digital photo into PDF document page using PDF page editor control
how to add image to pdf; add signature image to pdf acrobat
How to add an image to a pdf - VB.NET PDF insert image library: insert images into PDF in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Guide VB.NET Programmers How to Add Images in PDF Document
how to add a picture to a pdf file; add jpg signature to pdf
I
S
i
m User
G
u
i
de
8
2
www.x
ili
nx.com
U
G
660(v11.
3
)
Sep
t
ember16,2
00
9
C# PDF Image Extract Library: Select, copy, paste PDF images in C#
Get image information, such as its location, zonal information, metadata, and so on. Able to edit, add, delete, move, and output PDF document image.
adding a png to a pdf; acrobat insert image into pdf
VB.NET PDF Password Library: add, remove, edit PDF file password
VB: Add Password to PDF with Permission Settings Applied. This VB.NET example shows how to add PDF file password with access permission setting.
add a picture to a pdf; how to add photo to pdf in preview
Chapter9
Writing Activity Data for Power
Consumption
W
r
i
t
i
ng
A
c
t
i
v
i
t
y
D
a
t
ao
ft
he
D
es
i
gn
ISimwritesoutfileswithswitchingactivitydataofthedesign,whichisusefulfortwotasks:
Estimatingthepowerconsumptionwithapoweranalysistool,suchasXPowerAnalyzer.
ImplementingthedesignforoptimalpowerconsumptionwithMap,andPlace&Route(PAR)tools.
TheswitchingactivitydatacanbewrittenoutfromthesimulationofthedesigneitherattheRTL-levelorafter
fullplacementandrouting.Map,PARandXPowerAnalyzerallworkwithswitchingactivitydatagenerated
frombothRTLandpost-placeandroutesimulation.Forbetteraccuracyinpoweranalysisandpoweroptimized
implementation,itisrecommendedtouseswitchingactivitydatageneratedfromapost-placeandroute
simulation.Thedatawillmatchthedesigninternalnodesthatresultfromtheplacementandrouting.
ItisalsopossibletouseswitchingactivitydatageneratedfromaRTLsimulation(quickerthanthepost-place
androutesimulation)forbothpoweranalysisandpowerdrivenimplementation.However,onlyactivitiesfor
theinputsandoutputsofthedesignwillbetakenintoaccount. Thetoolswillusetheirvector-lessanalysis
algorithmstoestimateactivitiesofthedesign’sinternalnodes.
Formoreinformationabouthowthesetoolsusetheswitchingactivitydata,seetheCommandLineToolsUser
Guideforimplementationtools(MapandPAR),andXPowerAnalyzerHelpforpoweranalysis.
A
c
t
i
v
i
t
y
Fil
eTypes
TwostimulusfilescanbewrittenoutinanISimsimulation:
SAIF-TheSwitchingActivityInterchangeformat(SAIF)filecontainstogglecounts(numberofchanges)on
thesignalsofthedesign.Italsocontainsthetimingattributeswhichspecifytimedurationsforsignalsat
level0,1,X,orZ.TheSAIFfileisrecommendedforpowerrelatedtasks(i.e.,poweranalysisorpowerdriven
implementation)sinceitissmallerthantheVCDfile.
VCD-TheValueChangeDump(VCD)fileisanASCIIfilecontainingheaderinformation,variable
definitions,andvaluechangedetailsforeachstepofthesimulation. Thefilecanbeusedtoestimatethe
powerconsumptionofthedesign.Thecomputationtimeofthisfilecanbeverylong,andtheresultingfile
sizeislargerthantheSAIFfile.
I
S
i
mUser
G
u
i
de
U
G
660(v11.
3
)
Sep
t
ember16,2
00
9
www.x
ili
nx.com
8
3
VB.NET PDF Image Extract Library: Select, copy, paste PDF images
DLLs for PDF Image Extraction in VB.NET. In order to run the sample code, the following steps would be necessary. Add necessary references:
add image to pdf preview; add picture pdf
C# PDF Password Library: add, remove, edit PDF file password in C#
C# Sample Code: Add Password to PDF with Permission Settings Applied in C#.NET. This example shows how to add PDF file password with access permission setting.
adding jpg to pdf; add jpg to pdf form
Chap
t
er9
:
W
r
i
t
i
ng
A
c
t
i
v
i
t
y
D
a
t
a
f
o
r
PowerC
onsump
t
i
on
ToW
r
i
t
e
A
c
t
i
v
i
t
y
Fil
es
f
o
r
Power
Writingoutaswitchingactivityfilecanbedoneasfollows:
1. Createthedesiredactivityfileinordertogatherthesignalstransitionduringsimulationforpowerestimation.
SAIF-UsethesaifcommandataTclprompt.
VCD-UsethevcdcommandataTclprompt,orsetthe
-
vcdfile
optioninyoursimulationexecutable
atthecommandline.
2. Runsimulation,forexample,run1000ns.
Ifyouarerunningyoursimulationusingthesimulationexecutableatthecommandline,thefirstand
secondstepscanbeaccomplishedatonce.
3. Whensimulationends,closetheSAIForVCDfilebyissuingtheappropriatesaiforvcdcommand.Example:
saif close
or
vcd dumpoff
.
4. RetrievetheSAIForVCDfilefromthe
isim
workingdirectoryforuseinanothertool.
I
S
i
m User
G
u
i
de
84
www.x
ili
nx.com
U
G
660(v11.
3
)
Sep
t
ember16,2
00
9
C# Create PDF from images Library to convert Jpeg, png images to
List<Bitmap> images = new List<Bitmap>(); images.Add(new Bitmap(Program.RootPath + "\\" 1.gif")); / Build a PDF document with GIF image.
add an image to a pdf acrobat; adding an image to a pdf file
C# PDF Sticky Note Library: add, delete, update PDF note in C#.net
C#.NET PDF SDK - Add Sticky Note to PDF Page in C#.NET. Able to add notes to PDF using C# source code in Visual Studio .NET framework.
how to add an image to a pdf file; adding image to pdf file
Chapter10
UsingTclSimulationCommands
S
i
mu
l
a
t
i
on
C
ommandOverv
i
ew
Simulationcommandsenableyoutorunaninteractivesimulationatacommandprompt.
S
i
mu
l
a
t
i
on
C
ommandEn
tryMe
t
hods
Simulationcommandscanbeenteredasfollows.Formoreinformation,seeEnteringSimulationCommands.
ISimGUI-EntersimulationcommandsintheISimConsolepanel.
CommandLine-EntersimulationcommandsatthecommandlineTclprompt.
Tclbatch-EntersimulationcommandsinaTclfile,andreferencetheTclfilewiththe-tclbatchoptionofthe
simulationexecutable.Formoreinformation,seeISimSimulationExecutable.
Youcanenterindividualcommandsorcreatesimulationscripts. ForexamplesofsimulationTclscripts,see
theSimulationConstructsfolderavailableintheLanguageTemplates.Toaccesstheseexamples,clickEdit>
LanguageTemplates,andintheLanguageTemplates,expandTcl,expandTools,andexpandISimfolder.
Youcansetavariabletorepresentasimulationcommandtoquicklyrunfrequentlyusedsimulation
commands. Formoreinformation,seeAliasingSimulationCommands.
No
t
e
ForinformationonusingTcl,seeTcl/TkDocumentation.
S
i
mu
l
a
t
i
on
C
ommandSummary
Availablesimulationcommandsareasfollows.Informationonsyntax,optionsandexamplesisavailable
foreachsimulationcommand.
I
S
i
mUser
G
u
i
de
U
G
660(v11.
3
)
Sep
t
ember16,2
00
9
www.x
ili
nx.com
85
C# PDF remove image library: remove, delete images from PDF in C#.
C# Read: PDF Image Extract; C# Write: Insert text into PDF; C# Write: Add Image to PDF; Remove Image from PDF Page Using C#. Add necessary references:
add image field to pdf form; add a picture to a pdf file
VB.NET PDF remove image library: remove, delete images from PDF in
C# Read: PDF Image Extract; C# Write: Insert text into PDF; C# Write: Add Image to PDF; VB.NET: Remove Image from PDF Page. Add necessary references:
add image pdf; add multiple jpg to pdf
Chap
t
er 10
:
Us
i
ng Tc
l
S
i
mu
l
a
t
i
on
C
ommands
No
t
e
Thesecommandsarecasesensitive.
bp: SetsanddeletesbreakpointsinyourHDLsourcecodefordebuggingpurposes.
describe:DisplaysinformationaboutthegivenHDLdataorblockobject.
dump:Displaysalistofvariables,generics,parametersandnetsalongwiththeirvaluesforthecurrent
scopeofthedesignhierarchy.
help: DisplaysadescriptionwithusageandsyntaxofthespecifiedISimcommand.
isimcondition:Enablestheexecutionofasetofcommandsbasedonaspecifiedconditionononeormore
netsorVerilogregs.
isimforce: Forcesorremovesavalueonanet.
isimgetarraydisplaylength:DisplaysthelimitofnumbersofelementsforanarraytypeHDLobject.
isimgetradix: Getstheglobalradixbeingused.
isimgetuserunit:Displaysthecurrentunitofmeasurementforalltimevalueswhereunitisunspecified.
isimltrace: Turnsonandofflinetracing.
isimptrace: Turnsonandofftracingofexecutionofprocesses.
isimsetarraydisplaylength:SetsthelimitonthenumberofelementsforanarraytypeHDLobject.
isimsetuserunit:Setsthedefaultunitofmeasurementforalltimevalueswhereunitisunspecified.
isimsetradix:Setstheglobalradixtouse.
ntrace: ControlshowISimtracesvariablesandnetsinyoursimulation.
onerror:Forbatchmode,controlsthebehaviorimmediatelyfollowingafailedTclsimulationcommand.
put: Assignsavaluetoaspecifiedbit,sliceorallofavariableorsignal.
quit: Exitseitherthesimulationorthesoftware,dependingonthecommandoption.
restart: Restartssimulation.Itsetssimulationtimebackto0.
resume:Withthe
onerror
command,continuesexecutingcommandsafteranerrorisencountered.
run: Startssimulation.
saif:CreatesaSwitchingActivityInterchangeformat(SAIF)fileandrecordsestimatepowerusage.
scope: Navigatesthedesignhierarchy.
sdfanno: Back-annotatesdelaysfromanSDFfiletotheHDLdesign.
show: DisplaysselectedaspectsofthedesignintheSimulationConsoletab.
step: ExecutessimulationthroughyourHDLdesign,linebyline,toassistwithdebug.
test: Comparestheactualvalueofanetorbuswithasuppliedvalue.
vcd: GeneratessimulationresultsinVCDformat.
waveadd:AddssimulationobjectsorblockstothespecifiedwaveconfigurationintheISimgraphical
userinterface.
En
t
er
i
ngS
i
mu
l
a
t
i
on
C
ommands
HowyouentersimulationcommandsdependsonhowyouarerunningISim.Seetheapplicableusertypebelow.
Forinformationonsimulationcommandsandcommandsyntax,seeSimulationCommandOverviewortype
help
or
help
<command_name>attheprompt.
I
S
i
m User
G
u
i
de
86
www.x
ili
nx.com
U
G
660(v11.
3
)
Sep
t
ember16,2
00
9
Chap
t
er10
:
Us
i
ngTc
l
S
i
mu
l
a
t
i
on
C
ommands
ToEn
t
erC
ommands
i
n
G
U
I
Mode
OnceISimislaunched,youcanrunTclcommandsintheConsole.
1. ClicktheConsolepanel.
2. Placethecursorinanewline.
3. Typeinthesimulationcommandusingthecorrectsyntax.
4. PressEntertorunthecommand.
Thecommandisrun.ThecommandlogappearsintheConsolepanel.
ToEn
t
erC
ommands
i
n
I
n
t
erac
t
i
ve
C
ommandL
i
neMode
Afterparsing,andelaboratingyourVHDL,VerilogorMixedLanguagedesign,thefollowingprocedurecanbe
followedtorunsimulationandanalyzethedesign.
1. RuntheISimsimulationexecutablethatyougeneratedfromfuseatthecommandline,forexample,
my_sim
.
exe
.
ATclpromptappears:
T
his is a
F
ull version of
IS
im
.
T
ime resolution is
1
ps
IS
im
>
2. Typeinthesimulationcommandusingthecorrectsyntax.
3. PressEntertorunthecommand.
Thecommandisrun. Simulationoutputwillautomaticallybedirectedtoboththe
stdout
aswellasthe
isim
.
log
file.
No
t
e
YoucanusetheCtrl+Ckeyboardcommandtostopasimulationonceinvoked.
Exampleofatypicalsequence.
1.
scope
-Showscurrentscopeindesignhierarchy.
2.
dump
-Showsyoucurrentvalueofsignalsincurrentscope.
3.
show value clk
-Showsthevalueofasignalnamedclk.
4.
run
1000
ns
-Runssimulationfor1000ns.
5.
restart
-Resetssimulationtotime0.
6.
ntrace select
-
o on
-
m
/ -
l this
-Selectstracingofallsignalsattoplevel/
7.
ntrace start
-Turnsontracingofselectedsignals.
8.
run
1000
ns
-Runssimulationfor1000nswithtraceturnedon.
9.
ntrace stop
-Stopstracing.
10.
run
1000
ns
-Runssimulationfor1000nswithtraceturnedoff.
11.
quit
-Quitssimulation.
Afterquittingsimulation,sincethe
ntrace
commandwasused,youwillseethatthewaveformtracefile
isimwavedata
.
xwv
hasbeencreatedinyourcurrentworkingdirectory.Notethatthisfileisnotcreatedif
youdonotusethe
ntrace
command.
I
S
i
mUser
G
u
i
de
U
G
660(v11.
3
)
Sep
t
ember16,2
00
9
www.x
ili
nx.com
8
7
Chap
t
er 10
:
Us
i
ng Tc
l
S
i
mu
l
a
t
i
on
C
ommands
ToEn
t
erC
ommands
i
nNon-
I
n
t
erac
t
i
veBa
t
chMode
Inbatchmode,youmustcollectallTclcommandsinaTclfile,andrunthesimulationexecutablewiththe
Tclfilebeingreferenced.
1. Createafilewitha
.
tcl
extension,forexample,
isim
.
tcl
,andenteranysimulationcommandsyou
wanttoexecuteintothefile.
Youcanenterindividualcommandsorcreatesimulationscripts. ForexamplesofsimulationTclscripts,
seetheSimulationConstructsfolderavailableintheLanguageTemplateswiththeProjectNavigator.To
accesstheseexamplesintheLanguageTemplates:
a. OpenProjectNavigator.
b. SelectEdit>LanguageTemplates.
c. ExpandTcl,expandTools,andexpandISimfolder.
No
t
e
WhencreatingaTclfile,ensurethatyouhaveaquitcommandonthelastlineofthefiletoensurethe
simulationcompletelyexitsoncetheruniscomplete.
Forexample,thefollowingcouldbethecontentsof
isim
.
tcl
:
ntrace select
-
o on
-
m
/ -
l this
run
1000
ns
2. Toexecutethecommandsin
isim
.
tcl
,enterthefollowingatthecommandlineprompt:
stopwatchsim
.
exe
-
tclbatch isim
.
tcl
Simulationoutputwillautomaticallybedirectedtoboththe
stdout
aswellasthe
isim
.
log
file.
Ali
as
i
ngS
i
mu
l
a
t
i
on
C
ommands
YoucansetavariabletorepresentasimulationcommandusingaTcl-basedcommandprompt.Youcanthenuse
thevariabletoexecutethecommandmanytimeswithouthavingtotypeitineachtime. Settingavariableto
representoneormorecommandsiscalledaliasing.
ToSe
t
aVar
i
ab
l
ea
tt
heS
i
mu
l
a
t
i
on
C
onso
l
e
IntheConsolepanel(GUImode)orTclprompt(command-linemode),typeinavariableasfollows:
set svc
"
show value count
"
where,
set
-indicatesthatyouarecreatingavariable.
svc
-isthevariablename.
"
show value count
"
-isthesimulationcommandrepresentedbythevariablename.
Thevariableisset. TheTclvariable
svc
issettoshowvaluecount.
Tothenrunthevariable(andtherebyexecutethesimulationcommand),type
eval
$
svc
.
C
ommandL
i
ne
C
onven
t
i
ons
YoucanenterconsolecommandsatthecommandlineoftheSimulationConsolewindowasanalternativeto
usingmenucommands.Consolecommandsdonotdisplaythedialogboxesthatmenucommandsinvoke.
I
S
i
m User
G
u
i
de
88
www.x
ili
nx.com
U
G
660(v11.
3
)
Sep
t
ember16,2
00
9
Chap
t
er10
:
Us
i
ngTc
l
S
i
mu
l
a
t
i
on
C
ommands
Thefollowingisasummaryofthesyntaxusedforthesimulationcommands.
Whenanoptionoccurswithparentheses"()"nexttothecommandnameinthesyntax,itisrequired.
Whenanoptionappearsinsquarebrackets"[],"itisoptional.
Whentwoormoreoptionsoccurbetweenbraces"{},"theoptionsmustbeenteredwiththecommand.
Iftheoptionsareseparatedbyaverticalbar"|,"youmustchooseoneofthepossibleparameters.Ifone
termisdividedintoasubsetofparametersthatcanbeenteredseparatelyortogether,eachsubparameter
occursbetweensquarebrackets.
Lessthanandgreaterthansymbols"<>"enclosevariablesforwhichyoumustsupplyvalues.
No
t
e
Italicsareusedtoindicatevariables.
Tc
l
C
ommands
bp
C
ommand
The
bp
commandcontrolsthesettingandremovalofbreakpointsintheHDLsourcecodethatyouare
simulating. Abreakpointisusedtointerruptthesimulationduringdebugging.
No
t
e
Thiscommandiscasesensitive.
bp
(
option
)
Op
t
i
ons
add <file_name><line_number>
AddsabreakpointinyourHDLcode.
F
ile_name
isthe
nameoftheHDLsourcefilethatyouaresimulatingwhere
youwanttoputabreakpoint.Line_numberisthenumberof
thelineofHDLcodewhereyouwantthesimulationtostop.
clear
DeletesallbreakpointsforallHDLfilesloadedintoISim.
Ifyouhavebreakpointsinmultiplefiles,allbreakpoints
aredeleted.
del <index> [<index>
...
]
DeletesindividualbreakpointsfromyourHDLcode.Before
usingthiscommand,runthe
bp list
commandtoobtain
theindexnumbersforyourbreakpoints. Seethe
list
optionfordetails.
Indexistheindexnumberassignedtothebreakpointyou
wanttodelete.Eachbreakpointinyourdesignisassigneda
uniqueindexnumber.
No
t
e
Thisindexisnotthelinenumberofthebreakpoint
inthesourcefile.
list
Listsallofthebreakpointsinyourdesignandshowstheir
indexnumbertobeusedwiththe
bp del
command.If
youhavesetbreakpointsinmultiplefiles,allbreakpoints
arelisted.
The
bp list
commandsreturnsthefollowing:
index
directory_path
/
file_name
::line_number
Where:
Indexistheindexnumbertousewiththebpdel
command.
D
irectory_path
isthefullyqualifiedpathtoyour
sourcefiles.
F
ile_name
isthenameofthesourcefilethathasa
breakpointinit.
I
S
i
mUser
G
u
i
de
U
G
660(v11.
3
)
Sep
t
ember16,2
00
9
www.x
ili
nx.com
8
9
Chap
t
er 10
:
Us
i
ng Tc
l
S
i
mu
l
a
t
i
on
C
ommands
Line_numberisthelinenumberinthesourcefileofthe
breakpoint.
remove <file_name> > <line_number>
Deletesabreakpointatlineline_numberinfile
file_name
.
file_name
isthenameoftheHDLsourcefilethatyouare
simulatingandwhereyouwanttoremoveabreakpoint.
line_numberisthenumberofthelineofHDLcodewhere
thebreakpointhasbeenset.
Examp
l
es
The
bp
commandcanbeusedasfollows.
Se
t
aBreakpo
i
n
t
Thisexamplesetsabreakpointatline2forthefile
statmach
.
vhd
.
bp add statmach
.
vhd
2
L
i
s
t
a
ll
Breakpo
i
n
t
s
ThisexamplelistsallbreakpointsinallfilesinvolvedinyourISimsimulation,andgivesthemauniqueindex
number.
bp list
D
e
l
e
t
eBreakpo
i
n
t
s
Thisexampledeletesallbreakpointsinyoursimulation.
bp clear
Thisexampledeletesabreakpointbyindexnumber.
1. Firstusethe
bp list
commandtogetthebreakpointindexes:
bp list
Thesimulatorreturnsthefollowing:
1 C:/
examples
/
watchvhd
/
stopwatch_tb
.
vhd
::46
2 C:/
examples
/
watchvhd
/
stopwatch_tb
.
vhd
::55
2. Thendeletethebreakpointatlinenumber46in
stopwatch_tb
.
vhd
:
bp del
1
Thisexampledeletesabreakpointatline2in
statmach
.
vhd
.
bp remove statmach
.
vhd
2
descr
i
be
C
ommand
The
describe
commanddisplaysinformationaboutthegivenHDLdataorblockobject.
Thesyntaxforthiscommandisasfollows.
No
t
e
Thiscommandiscasesensitive.
describe <object_name>
Op
t
i
ons
<object_name>
DisplaysadescriptionabouteitheranHDLobjectoran
HDLblockinthecurrentsimulationscope.
I
S
i
m User
G
u
i
de
9
0
www.x
ili
nx.com
U
G
660(v11.
3
)
Sep
t
ember16,2
00
9
Documents you may be interested
Documents you may be interested