CN110059395A - A kind of infrared imaging focuses the visuable debugging method of FPGA system automatically - Google Patents
A kind of infrared imaging focuses the visuable debugging method of FPGA system automatically Download PDFInfo
- Publication number
- CN110059395A CN110059395A CN201910291534.7A CN201910291534A CN110059395A CN 110059395 A CN110059395 A CN 110059395A CN 201910291534 A CN201910291534 A CN 201910291534A CN 110059395 A CN110059395 A CN 110059395A
- Authority
- CN
- China
- Prior art keywords
- modelsim
- matlab
- sub
- image
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000003331 infrared imaging Methods 0.000 title claims abstract description 31
- 238000004088 simulation Methods 0.000 claims abstract description 36
- 238000012800 visualization Methods 0.000 claims abstract description 31
- 238000005086 pumping Methods 0.000 claims abstract description 10
- 238000004364 calculation method Methods 0.000 claims abstract description 4
- 230000006870 function Effects 0.000 claims description 64
- 238000012360 testing method Methods 0.000 claims description 23
- 230000004044 response Effects 0.000 claims description 17
- 238000004891 communication Methods 0.000 claims description 14
- 230000002452 interceptive effect Effects 0.000 claims description 6
- 230000005284 excitation Effects 0.000 claims description 5
- 230000008569 process Effects 0.000 claims description 4
- 238000013461 design Methods 0.000 abstract description 26
- 238000004422 calculation algorithm Methods 0.000 abstract description 6
- 238000012545 processing Methods 0.000 abstract description 6
- 238000006243 chemical reaction Methods 0.000 description 12
- 238000009434 installation Methods 0.000 description 11
- 238000011156 evaluation Methods 0.000 description 10
- 230000000007 visual effect Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 230000000630 rising effect Effects 0.000 description 9
- 238000001914 filtration Methods 0.000 description 8
- 230000009471 action Effects 0.000 description 5
- 238000012546 transfer Methods 0.000 description 5
- 230000003542 behavioural effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000003384 imaging method Methods 0.000 description 3
- 230000010354 integration Effects 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 3
- 241001269238 Data Species 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012905 input function Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 229910002056 binary alloy Inorganic materials 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000005057 refrigeration Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/39—Circuit design at the physical level
- G06F30/398—Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2117/00—Details relating to the type or aim of the circuit design
- G06F2117/08—HW-SW co-design, e.g. HW-SW partitioning
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The present invention discloses the visuable debugging method that a kind of infrared imaging focuses FPGA system automatically, is related to camera Techniques of Automatic Focusing field.Emulation data-signal is inputted for using manual Waveform Input or with hardware description language mode, the prior art and traditional debugging method of simulation result are presented in a manner of waveform, in the presence of the design for focusing video processing automatically, it debugs and verifying is inconvenient and brings additional debugging cost problem, the advantages of both visuable debugging method combination ModelSim and MATLAB provided by the invention, creates an integrated EDA programming, calculate and visualize the hybrid simulation environment of debugging, it is not only point-device to generate various required video input pumping signals for examining system, visualization presentation can also be carried out to vision signal is exported after ModelSim functional simulation, it realizes and efficient analytical Calculation and verifying assessment is carried out to designed focusing algorithm.
Description
Technical field
The present invention relates to camera Techniques of Automatic Focusing fields, and in particular to a kind of infrared imaging focuses FPGA system automatically
Visuable debugging method.
Background technique
The design cycle of FPGA includes the design and input, functional simulation, synthesis, comprehensive post-simulation, realization, wiring of circuit
The key steps such as post-simulation and lower plate debugging.Currently, many FPGA designs are generally first with hardware description language (HDL) with the side of programming
Formula establishes the behavioral scaling model of digital display circuit, then carries out Computer Simulation to the complex digital logic of HDL model, then automatic comprehensive
It closes to generate the Digital Logic netlist (Netlist) that meets design requirement and may be implemented on circuit structure, finally according to net
Table and the device of certain technique automatically generate physical circuit, by downloading to after the time delay simulation verifying under the technique is errorless
The design of complicated Digital Logic integrated circuit is realized in FPGA device.
It is extremely important in the FPGA design of digital signal processing circuit based on the debugging of emulation of the computer software.Number
Word Logic Circuit Design downloads to before FPGA device, carry out sufficient computer EDA emulation can not only accelerate design can also
In time the problem of discovery design.Particularly, the infrared imaging system designed using HDL language and Graphics Input method
The automatic FPGA digital logic integrated circuit that focuses belongs to more complicated digital video processing system, and EDA Programming is easy
Mistake carries out behavioral scaling function to it using dedicated EDA emulation software tool after the completion of FPGA digital logic IC design
Time delay simulation verifying and debugging after automatic Synthesis can be emulated will guarantee its premise well run, can sufficiently assess automatic
Whether the realization of the FPGA digital logic circuit of focusing algorithm and focusing strategy meets initial functional design requirements.However, to red
There are the difficulties of two aspects for the debugging of the automatic focusing FPGA digital logic circuit of outer imaging:
1. common FPGA design artificial debugging software, either the ModelSim software or Altera of Mentor company
The QuartusII software of company, traditional method mostly use greatly manual Waveform Input mode or the hardware description with behavioral scaling
Language (Verilog HDL, VHDL) mode carries out the input of emulation data-signal, and simulation result is also defeated mostly in a manner of waveform
Out, this is all extremely inconvenient for the test and verifying of video processing design.For example, when to emulate with noise or various defocus effect
When the input picture vision signal of fruit, it will be difficult to because of excessively complicated using the conventional method of Programming with Pascal Language or Waveform Input
Generate the video pump signal of emulation testing.In addition, being also difficult to carry out as the video data signal that simulation result returns visual
Change and present, can not realize easily and more complex auto-focusing algorithm or automatic focusing strategy are verified, assessed and changed
Into.
2. debugged according to automatic focusing FPGA digital logic circuit of the conventional method to infrared imaging, only first
The program write in a manner of hardware description language (Verilog HDL, VHDL) or schematic diagram is downloaded into infrared imaging system
It could Start-up and Adjustment in main process task fpga chip.Each pair of program makes primary modification, it is necessary to re-start primary downloading and operation.
It include essence since infrared imaging system is a kind of special photo electric imaging system different from visual light imaging (CCD or CMOS)
Close and expensive infrared imaging detector component;Some infrared detector work also needs to freeze, and refrigeration machine component and detection
The average life span of device assembly is limited, is unable to undergo to debug bring damage repeatedly.Therefore, biography is used in infrared imaging system complete machine
System method the FPGA digital logic circuit of autofocus system is debugged it is not only time-consuming and laborious, but also cause additional debugging at
This.
Summary of the invention
For the above problem existing for the prior art and traditional debugging method, the present invention provides a kind of infrared imaging is automatic
The visuable debugging method of FPGA system is focused, method includes the following steps:
Step 1, the client/server communication for establishing MATLAB and ModelSim link;
The MATLAB function of step 2, establishment as server;
Step 3, the associative simulation for carrying out ISE, ModelSim and MATLAB.
Further, the step 1 be infrared imaging focus automatically FPGA system visualization debugging and establish MATLAB with
The client/server communication of ModelSim links, including following two configuration mode:
(1) ModelSim is configured with interactive mode;
(2) ModelSim is configured with command mode.
Further, the step 2 is the concrete configuration of visualization debugging and the MATLAB server functions of establishment, including
Following sub-step:
System parameter when sub-step S201, initialization first time calling;
Sub-step S202, pumping signal wait emulate automatic focus module is generated;
Sub-step S203, it receives from the ModelSim response signal returned and carries out visualization display.
Further, the step 3 carry out the concrete operations of the associative simulation of ISE, ModelSim and MATLAB include with
Lower sub-step:
Sub-step S301, Calling MATLAB order establish MATLAB-ModelSim link channel;
Sub-step S302: server state is checked in Calling MATLAB order;
Sub-step S303: start ModelSim emulator from MATLAB environment;
Sub-step S304: ModelSim emulator and break link are closed in Calling MATLAB order.
The implementation process of method provided by the invention is: firstly, establishing the associative simulation communication of ModelSim and MATLAB
Link environment;Then, required input picture is advantageously called with MATLAB and excitation vision signal is generated with this, is supplied to
ModelSim emulator;Then, by the functional simulation of the ModelSim operation automatic focusing function module of infrared imaging;Finally, again
Return signal after ModelSim operation emulation is received by MATLAB, while video data signal therein is converted into focusing view
Frequency image carries out visualization presentation in MATLAB, and completes the test and analytical calculation of image;It is final to realize in associative simulation
Focus the visualization debugging of FPGA system design in environment automatically to infrared imaging.
It is integrated the beneficial effects of the present invention are: the advantages of both this method combination ModelSim and MATLAB creates one
EDA programming calculates and the hybrid simulation environment of visualization debugging: using ModelSim software emulation speed is fast, simulation accuracy is high
The characteristics of, the automatic focusing video system FPGA digital logic circuit of infrared imaging is emulated;It is soft using MATLAB simultaneously
Part have the advantages that high-performance mathematical computations and algorithm analysis generate video input pumping signal, to output video image progress can
It is presented depending on changing, realizes and the analytical Calculation of focusing algorithm and verifying are assessed.It is mixed that this MATLAB combines visualization with ModelSim
The method of emulation is closed either for verifying the automatic design for focusing FPGA digital logic circuit program, assesses auto-focusing algorithm
And focusing strategy, or the debugging and test of FPGA digital video logic circuit that complicated infrared imaging system is focused automatically
Convenience is all brought, debugging cost is saved.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will be described below to embodiment required
Attached drawing is briefly described.
Fig. 1 is the technology for the visuable debugging method that infrared imaging described in the embodiment of the present invention focuses FPGA system automatically
Program flow chart;
Fig. 2 is associative simulation ring of the MATLAB as server and ModelSim as client described in the embodiment of the present invention
Border connected mode schematic diagram;
Fig. 3 is that the circulation of MATLAB function and ModelSim are logical during a test and excitation described in the embodiment of the present invention
Interrogate schematic diagram;
Fig. 4 works out the MATLAB function (step S2) as server for visual simulating described in the embodiment of the present invention
Schematic diagram;
Fig. 5 is the pumping signal (sub-step S202) generated described in the embodiment of the present invention wait emulate automatic focus module
Schematic diagram;
Fig. 6 is that reception described in the embodiment of the present invention from the ModelSim response signal returned and carries out visualization display
The schematic diagram of (sub-step S203);
Fig. 7 be the embodiment of the present invention described in certain infrared imaging system design automatic focusing FPGA module carry out ISE,
The schematic diagram of the associative simulation (step S3) of ModelSim and MATLAB;
Fig. 8 is the tradition of the automatic focusing FPGA module described in the embodiment of the present invention to the design of certain infrared imaging system
EDA functional simulation figure;
Fig. 9 is to carry out this hair to the automatic focusing FPGA module of certain infrared imaging system design described in the embodiment of the present invention
The ModelSim simulation waveform of the visualization debugging of bright embodiment;
Figure 10 is to carry out this to the automatic focusing FPGA module of certain infrared imaging system design described in the embodiment of the present invention
The display interface of the visualization debugging of inventive embodiments.
Specific embodiment
As shown in Figure 1, a kind of infrared imaging focuses the visuable debugging method of FPGA system automatically, this method includes following
Step:
Step S1, the client/server communication for establishing MATLAB and ModelSim links
Interface has been reserved to ModelSim simulation software in the ISE Integrated Development Environment of Xilinx company, has passed through this
Interface can directly initiate ModelSim tool from ISE the integration environment and be emulated, so that it may reach ISE the integration environment and
The purpose of ModelSim implement work.MATLAB also has the associative simulation interface of a connection ModelSim, this interface
A quick duplex channel is provided between.It can be by the Tool integration of MathWorks to electronics by the interface
FPGA exploitation and emulation are carried out in the workflow of design automation (EDA) tool.
The associative simulation environment of ModelSim and MATLAB depends on the connection type between them, and this connection type is
A kind of relationship of client/server (client/server): MATLAB is as server, and ModelSim is then client, such as
Shown in Fig. 2.After being mounted with MATLAB, Simulink and ModelSim software, need through MATLAB script with interactive or
The mode of order line programming configures ModelSim, to establish the client/server communication of MATLAB and ModelSim
Then link combines again and carries out the associative simulation that infrared imaging focuses automatically.Carrying out client configuration to ModelSim is to pass through
MATLAB function setupmodelsim realizes, a function registration MATLAB system relevant to the connection of ModelSim emulator
Arrange Tcl order, and ModelSim installation directory create ModelSimTclFunctionsForMATL in tcl subdirectory
AB.tcl file is to save these Tcl orders.In addition, also needing the specified mounted software version of ModelSim and executable file
As the default emulator for executing vsim order.
(1) ModelSim is configured with interactive mode
With interactive mode configuration ModelSim firstly the need of the input function title under the command prompt of MATLAB
Setupmodelsim selects the installation for needing to be linked with MATLAB according to the requirement of installation script with user
ModelSim software version.At this point, if user's selection shows all version lists for having installed ModelSim software,
Setupmodelsim function can search for all mounted ModelSim software versions and user is allowed to select one of them;If with
Family needs voluntarily to specify mounted ModelSim version, then script will prompt user's input to install ModelSim software
The path of executable file modelsim.exe or vsim.exe.If setupmodelsim function successfully modifies installation file
It exits;It is linked if ModelSim software had been configured with MATLAB, can be shown in ModelSim installation directory tcl
The information of the ModelSimTclFunctionsForMATLAB.tcl file created in subdirectory, and allow user selection be
No covering tcl file.For example, being followed the steps below in present example with interactive mode configuration ModelSim needs:
1. input function " setupmodelsim " or " setupmodelsim under the command prompt of MATLAB console
(' action', ' install') ", then MATLAB, which is returned, requires user to select the installation for needing to be linked with MATLAB
The information of ModelSim version: " Identify the ModelSim installation to be configured for
MATLAB and Simulink.Do you want setupmodelsim to locate installed ModelSim
Executables [y]/n? ";
2. the specified ModelSim version of installation linked with MATLAB.It has been installed if user wants voluntarily to specify
The path of ModelSim version please input " n ".At this point, MATLAB, which returns to prompt user, inputs ModelSim executable file
The information in the path modelsim.exe or vsim.exe: " Please enter the path to your ModelSim
Executable file (modelsim.exe or vsim.exe): " input in this example: " D: modelsim win32 " i.e.
It can.If the user desired that positioning and showing all lists for having installed version, then input " y " or press " enter " key.Then
Setupmodelsim function can search for mounted all ModelSim versions, and return to relevant information in MATLAB.
3. according to user step 2. in response, input one of the following contents: (a) executable ModelSim or vsim
Full path;(b) installing the numerical listing (0,1 ...) of identifier, then setupmodelsim function modification installation file exists
MATLAB returns to message " ModelSim successfully configured for MATLAB and Simulink ", then
It exits.
ModelSim installation if it is MATLAB and Simulink link configuration has been modified, and will appear corresponding
Message is verified, if user, which inputs " y ", covers the tcl file, setupmodelsim will cover this document, and then display disappears
Breath: " ModelSim successfully configured for MATLAB and Simulink ";Otherwise, if user is defeated
Enter " n " to show afterwards message " ModelSim configuration not updated forMATLAB and Simulink ", and
It is exited in the case where not modifying file.
(2) ModelSim is configured with command mode
With command mode configuration ModelSim firstly the need of use " action " attribute and set property for
" install " calls function setupmodelsim starting configuration, then uses " vsimdir " attribute and sets property to need
The path of the executable file modelsim.exe or vsim.exe that have installed ModelSim to be linked with MATLAB
" pathname " is to select the ModelSim version of installation linked with MATLAB.If desired current ModelSim version pair is unloaded
The link of MATLAB configures, then uses " action " attribute and set property and call function for " uninstall "
setupmodelsim('action','uninstall')。
For example, configuring ModelSim in present example with command mode, it is only necessary to be inputted in MATLAB console
Order " setupmodelsim (' action', ' install') " and " setupmodelsim (' vsimdir', ' D:
Modelsim win32') ".
Step S2. works out the MATLAB function as server
MATLAB function as server will wait the ModelSim emulator sending to be received from as client
Service request, after receiving a request, MATLAB server functions will establish and ModelSim emulator between one
Then a communication connection activates a corresponding MATLAB to handle function, VHDL module to be measured is input to ModelSim and is imitated
True device simultaneously shows the simulation data result of return progress mathematical computations, Numerical Validation analysis and image/video, recycles communication
Operation schematic diagram is as shown in Figure 3.
Establishment MATLAB server functions are firstly the need of doing following some necessary be pre-configured with:
1. specified MATLAB server functions title.For example, MATLAB server functions name is arranged in present example
Referred to as test_sync, form are as follows: function [iport, tnext]=test_sync (oport, tnow, portinfo);Its
In, iport and tnext are output parameter, and iport is input port name, and tnext is the readjustment time of MATLAB function;
Oport, tnow and portinfo are input parameter, and oport is output port name, and tnow is current allocating time, portinfo
It is port information.
For example, the port signal that input port iport is used in present example includes: the video of infrared imaging system
Data transfer clock signal (15MHz) iport.clk15, global system reset signal iport.odd and eight video datas
Signal iport.tv;The port signal that output port oport is used includes: IR video stream output and its marking signal
Oport.tvosign and oport.tvstream_out, the output of autofocus area image data and its marking signal
Oport.fzsign and oport.focuszone, the output of focal zone pattern mask filtering data and its marking signal
Oport.flsign and oport.filter_out, focal zone calculate gained focusing evaluation Value Data output and its marking signal
Oport.fesign and oport.focus_eval.
2. initializing the output parameter of MATLAB server functions.In the beginning of function, output parameter iport and tnext
It must be initialized as null value.For example, being arranged in present example in the beginning of test_sync function: " iport=struct
();Tnext=[];".
3. the global variable and local variable of MATLAB is arranged.For example, a global variable is arranged in present example
(global) it is used as benchmark sequential counter cn, is counted to the rising edge to data transfer clock, the global variable meeting
It always exists in memory and is used for all m functions;It is arranged five for storing and transmitting visualization window display properties parameter
Local variable ud, vd, wd, ld and md, these persistent local variables stated in server functions test_sync also will
Can always exist in memory, but unlike their the function test_sync that can only be defined use, can prevent in this way by
Other functions or other orders are changed.Wherein, ud is used to record the infrared focusing video figure of the actual acquisition as test source
The display properties of picture;Vd is used to record the display properties of focal zone image;Wd is for recording the filtering of focal zone spatial mask
Export the display properties of image;Ld is used to record the display properties of output focusing evaluation of estimate curve;Md is used as image register
In the property parameters of complete excitation image of the storage comprising comprehensive blanking signal.Above-mentioned set global and local variable only has
It can just be removed when m file is changed or is removed from memory.
4. controlling the readjustment time tnext of MATLAB server functions.Adjusting back time tnext should adjust always greater than current
With time tnow.For example, tnext=tnow+5e-9 is arranged in present example, show that it was 5 nanoseconds that the clock cycle, which is arranged,
(5e-9 seconds), the practical readjustment time of server functions were 2.5 nanoseconds.
5. obtaining and application port information.The format of port information are as follows: portinfo.field1.field2.field3,
Wherein field1 be input, output, two-way or unit (in out inout tscale);Field2 is port name
(portname);Field3 be the port types such as left end, right end, digit or label (right left size label).
6. carrying out the conversion of data type between MATLAB, VHDL and ModelSim.These conversions include from ModelSim
Several key datas received to MATLAB conversion, as shown in table 1;The several main of ModelSim is returned to from MATLAB
Data type conversion, as shown in table 2.In step S2 of the invention, to focus the visual of FPGA module automatically to infrared system
Change emulates and the concrete configuration of the MATLAB server functions of establishment includes following sub-step (as shown in Figure 4):
Transfer function of several main data types that table 1 is received from ModelSim to MATLAB
MATLAB | It converts from the received response signal of ModelSim |
double | double(idata) |
unsigned integer | bin2dec(oport.***) |
signed integer | bin2dec(oport.***)-2^length(oport.***) |
Test port value | All (oport.***=='1'| oport.***=='0') |
The transfer function of main data types of the table 2 from MATLAB back to ModelSim
ModelSim | Convert the pumping signal sent from MATLAB |
Character array (standard logic vector or position) | Iport.***=dec2bin (* * *, n) |
System parameter when sub-step S201 initialization is called for the first time
When first time Calling MATLAB server functions, it is necessary to global variable and part to input port user setting
Variable carries out being initialized to subsequent use.In present example, if current allocating time tnow is less than 1 nanosecond (1e-9 seconds)
Or the number of input parameter be 3 (tnow < 1e-9 | nargin==3) in the case where be considered as first time Calling MATLAB server
Function, concrete operations include: 1. three signals on initialization input mouth iport: global system reset signal is initialized
It is reset, video data transmission clock signal is initialized as low flat with open system for Gao Ping (iport.odd='1')
(iport.clk15='0'), eight video data signals are initialized as zero (iport.tv='00000000');②
Initializing as the global variable cn of benchmark sequential counter is 0;3. the part for initializing original infrared imaging output image becomes
Measure md.Md is a structure variable, is mainly used to store and operate the infrared focusing video figure as ModelSim pumping signal
Picture.Md is made of seven fields: md.FOV is visual field class label, if the current infrared focusing video as test source is wide visual field
Image is then initialized as md.FOV='WFOV', be then initialized as narrow visual field ' NFOV';Md.field is picture field label, just
Begin to turn to 1 expression as test source to be first focusing image;Md.size is picture size, is initialized as test source images
Size (such as 768 × 576);Md.InFigreg is image register, is initialized to a uint8 type of md.size size
Matrix, for storing focusing image of the width read in by MATLAB as the infrared imaging system actual acquisition of test source;
Md.clock is the pixel data clock drive as test source, is initialized to 1;Md.i and md.j is current transmission pixel number
According to shift counter, be initialized to 1 and 0 respectively.
Sub-step S202 generates the pumping signal wait emulate automatic focus module
Reading in test source video image and generating pumping signal for ModelSim is establishment MATLAB server functions (step
S2 most crucial sub-step in), as shown in Figure 5.In present example, mainly have for the pumping signal that ModelSim is provided:
Video data transmission clock signal, global system reset signal and three kinds of video data signal of eight.
Firstly, carrying out detection to local variable md.clock when each invoking server function and passing its reverse phase to generate
Defeated clock signal iport.clk15.For example, when detecting that md.clock=0 is arranged then to generate a clock in md.field=1
Failing edge, it is on the contrary then generate rising edge clock;Input end of clock mouth iport.clk15 is output to by transfer function dec2bin
=dec2bin (md.clock).
Then, pixel shift counting is carried out in the rising edge of each clock, and in " field effective period " and " row effectively week
One infrared focusing video image is read in phase " as test source.For example, reading in point of the width from certain infrared system actual acquisition
The manual focusing video image that resolution is 768 × 576 accounts for the ratio in field (row) period effective period by calculating field (row), obtains
It is counted within 1~313 (field duration) with column to the count range for the shift counter for transmitting pixel data: control linage-counter md.i
Number device md.j counts clock md.clock rising edge within 1~960 (row period), when a md.i=313 (field duration knot
Beam) and when md.j=960 (a row end cycle), use imread order to read in as the infrared focusing image of test source,
And store field (row) valid interval (25:312,1:768) for arriving image register md.InFigreg.Due to the tune of actual acquisition
Burnt image be by " visual field type " and " field number " name file store, therefore read in when need by md.FOV with
Md.field specified attribute value navigates to corresponding folder address.
Finally, each rising edge clock within the field duration closes system resetting, current shift count device is posted in image
The pixel data specified in storage is output to eight video input ports by conversion.For example, when linage-counter md.i 1~
Global system reset signal is set to low flat (iport.odd='0') to close system resetting when 313 (field duration) are interior;With turn
The md.i and md.j pixel positioned in image register md.InFigreg is converted to 8 binary systems by exchange the letters number dec2bin
Number, and it is output to video input port iport.tv=dec2bin (md.InFigreg (md.i, md.j), 8).
Sub-step S203 receive from the ModelSim response signal returned and carry out visualization display this be it is of the invention can
Part depending on changing artificial debugging most critical, and be made of following three sub-steps, as shown in Figure 6:
1. design one (is named as in the present embodiment for creating the Matlab function of visualization display window
CreateMyFig.m), following functions are realized in the function:
(1) firstly, calling figure order to create a window object (figure1) is used for real-time dynamic display test source
Infrared focusing image and ModelSim return simulated response video and focusing value signal value.In the creation of figure1 object
Also need to be arranged several object properties (as shown in table 3) in journey, most important one attribute be label (' Tag', ' AF_Fig') and
Window display position (' Position', [180 20 920 920]);
The attribute setting of window object (figure1) in 3 sub-step S203 visualization display of table
(2) then, it calls axes order to create several in current window object (figure1) and is used for image or curve
The coordinate system object of display is 1. for show that the axes1 object of test source images, label are (' Tag', ' respectively
TVStream_Axes'), specific attribute setting is as shown in table 4;2. for showing axes2 pairs of interception autofocus area
As, label is (' Tag', ' FocusZone_Axes');3. being used to show image after the filtering processing of focal zone spatial mask
Axes3 object, label are (' Tag', ' FilterFig_Axes');4. for showing that calculating gained focusing to focal zone evaluates
It is worth the axes4 object of curve, label is (' Tag', ' FocusEvalFig_Axes').Wherein, the tool of axes2~axes4 object
Most of consistent with axes1 object in the setting of body attribute, a predicable of all these coordinate system objects is its parent object
It is all current window object (' Parent', figure1), the particular feature respectively having is as shown in table 5;
The attribute setting of coordinates object (axes1) in 4 sub-step S203 visualization display of table
The distinctive attribute setting of coordinates object (axes2~axes4) in 5 sub-step S203 visualization display of table
(3) image order drawing image pair in coordinates object axes1~axes3 for showing video image is called
As being 1. for show that the image1 object of test source images, label are (' Tag', ' TVStream_Image'), his father respectively
Object is axes1 coordinate system object;2. label is (' Tag', ' for showing the image2 object of focal zone image
FocusZone_Image'), parent object is axes2 coordinate system object;3. carrying out spatial mask to focal zone for showing
The image3 object of image after filtering processing, label are (' Tag', ' FilterFig_Image'), and parent object is that axes3 is sat
Mark system object;All identical, the different only shown image size of specific most of attribute setting of these image objects,
The attribute that each is respectively provided with is as shown in table 6.
The distinctive attribute setting of image object (image1~image4) in 6 sub-step S203 visualization display of table
(4) line order is called to draw curve, curve object in the coordinates object axes4 for showing focusing evaluation of estimate
The label of line4 is (' Tag', ' FocusEvalFig_Line'), and parent object is axes4 coordinate system object, other are specific
Attribute setting is as shown in table 7;
The attribute setting of curve object (line4) in 7 sub-step S203 visualization display of table
(5) it calls text order to show caption in current axes1~axes4 coordinates object, is respectively: 1. using
In the title text object text1 of display test source images, label is (' Tag', ' TVStream_Title');2. for showing
The title text object text2 of focal zone, label are (' Tag', ' FocusZone_Title');3. for showing focal zone
The title text object text3 of domain space mask filtering, label are (' Tag', ' FilterFig_Title');4. for showing
Focus the title text object text4 of evaluation of estimate curve, and label is (' Tag', ' FocusEvalFig_Title').These texts
Specific most of attribute setting of object all identical, different only shown font size, font, output text and its position
It sets, their specific object is as shown in table 8.
The attribute of 8 sub-step S203 visualization display textual object (text1~text4) of table is arranged
2. preparation (detection creation debugging window, each display object of initialization) MATLAB server letter before being shown
Number needs to check the tune of visual simulating from ModelSim before the response signal for receiving the automatic focus module returned emulation
Examination window whether create, and to it includes each display object initialize, process is as follows:
(1) firstly, checking whether the window for visual simulating debugging display has created.Call findobj order logical
The handle AF_Fig=findobj (' Tag', ' AF_Fig') that " label (Tag) " attribute obtains window object (figure1) is crossed,
If handle AF_Fig be sky, need to run the above-mentioned visualization display Matlab function (CreateMyFig.m) worked out with
Create visualization display window object and it includes all subobjects.By calling the specified creation of colormap (gray) order
AF_Fig window be linear gradation chromatic graph to show that infrared image, the visualization display interfacial effect of operation are as shown in Figure 10.
Colormap (jet) also can be used as needed and carry out colored rendering to show the infrared image of pseudo- coloured silk.
(2) then, it initializes when calling for the first time for storing and transmitting test and excitation and the corresponding display of response signal
Relevant local variable.As previously mentioned, local variable ud, vd, wd and ld are the structural bodies defined by direct way of reference, point
Activating image, focal zone image and its mask filtering image are not corresponded to and output calculates the display mould of focusing evaluation of estimate curve
Block.Headed by when if one of local variable (such as ud) is " sky " or server functions test_sync input number of parameters is 3
Secondary calling.It is image display that initialization, which includes: that 1. local variable structural body ud, vd and wd are corresponding, has similar knot
Structure definition.By taking ud as an example, structural body includes corresponding coordinate system object handle (ud.hax), image object handle
(ud.him), title text object handle (ud.tit), picture size (ud.size), image array (ud.data), row count
Eight device (ud.rown), column counter (ud.coln) and picture field counter (ud.fldNum) fields.In example of the present invention,
Respectively call findobj order by accordingly " label (Tag) attribute " obtained from window AF_Fig its coordinate system, image and
The handle of title text object.Picture size is initialized to [576,768], [144,192] and [140,190] respectively, to protect
Deposit test source infrared image, focal zone image and its mask filtering output image;Image array is respectively as at the beginning of its picture size
Beginning turns to uint8 type matrix (such as ud.data=uint8 (60*ones (ud.size)));The initial value of all types counter
It both is set to 1;2. local variable structural body ld corresponding is curve display module, structural body includes corresponding coordinate system pair
As handle (ld.hax), lines object handle (ld.hli), title text object handle (ld.tit), abscissa array
(ld.xdata) and five fields of ordinate array (ld.ydata).Equally call findobj order from window AF_Fig respectively
Middle its corresponding object handle of acquisition, and horizontal, ordinate array is then both initialized to one 1 × 19 zero array (zeros
(1,19))。
3. the image and curve of the response signal conversion that real-time display is returned from ModelSim
MATLAB server functions are returned from by detecting in the rising edge for generating clock drive from ModelSim is received
Dynamic focus module simulated response signal, realizes the conversion and visualization display to simulated response signal.The conversion of simulated response signal
Image have: as the infrared focusing image of test source, autofocus area image and its mask filtering image, correspondence image is aobvious
The local variable for showing module is ud, vd and wd, and the output of image shows and stores with similitude.The conversion of simulated response signal
Lines object have to focal zone image calculate focusing evaluation of estimate curve, corresponding display module local variable be ld.
The present invention describes server functions so that resolution ratio is 192 × 144 autofocus area image (vd) as an example
The operation that test_sync is shown and stored to the image of the response signal conversion returned from ModelSim.By preceding described, warp
The response signal for crossing ModelSim functional simulation is all connected to the output port oport of MATLAB server functions test_sync
On, therefore when generating each rising edge (md.clock=0) of clock drive to output significant notation signal
(oport.fzsign) it is monitored, if it is effectively (oport.fzsign='1'), first by the automatic focusing of output port
Area image pixel data signal oport.focuszone stores the image to local variable vd from Binary Conversion for the decimal system
In matrix field, position of the pixel in image array is positioned by row, column counter vd.rown and vd.coln, such as
Vd.data (vd.rown, vd.coln)=mvl2dec (oport.focuszone).Then, with linage-counter vd.rown clock synchronization
Clock carries out the cycle count in 1~144 range, and then column counter vd.coln starts 1 the every completion one cycle of vd.rown
Cycle count in~192 ranges.When row, column counter is 1, by set order by the title text object of focal zone
" number of fields " in text2 (object handle is recorded by vd.tit) is changed to current field number vd.fldNum.Work as column counter
When vd.coln just reaches 192, image array is loaded into focal zone image object image2 (object handle by set order
Recorded by vd.him) " color data " attribute on, i.e. set (vd.him, ' CData', vd.data) enables object image2
Focal zone image is shown in a manner of each a line;If linage-counter vd.rown reaches 144 simultaneously, illustrate from picture
Plain data-signal oport.focuszone has received a complete focal zone image, then adds field counter vd.fldNum
One, and imwrite order is called to be stored as focal zone image array vd.data with field number (vd.fldNum) name
The image of " bmp " format.The operation of other image displays (ud and wd) is similar with vd.
Server functions test_sync is converted to the operation that lines are shown to the response signal returned from ModelSim
It is simpler than being converted to image: output token signal (oport.fesign) is monitored in the rising edge of md.clock, if its
It is effective then first by the focusing evaluation value signal oport.focuszone of output port from Binary Conversion be decimal system variable
FEData=mvl2dec (oport.focus_eval) is then abscissa with field number (vd.fldNum), with FEData is
Ordinate be respectively provided to local variable ld abscissa array (ld.xdata) and ordinate array (ld.ydata) it is corresponding
At position.For convenience of display, especially abscissa is suitably extended (such as 20 times): ld.xdata (vd.fldNum)=
Vd.fldNum*20, while focusing evaluation of estimate suitably being reduced, such as: ld.ydata (wd.fldNum)=FEData/6000;Most
Afterwards, horizontal, ordinate array is loaded into focusing evaluation of estimate curve object line4 by set order (object handle is remembered by ld.hli
Record) " horizontal, ordinate data " attribute on, i.e. set (ld.hli, ' XData', ld.xdata, ' YData', ld.ydata), with
Realize the real-time rendering for the focusing evaluation of estimate curve that every focal zone image is calculated.Step S3. progress ISE,
The associative simulation of ModelSim and MATLAB
The pixel data of out-of-focus image is used in the present invention as the automatic video pump letter for focusing FPGA design of verifying
Number, it is input in ModelSim by the communication interface of MATLAB and ModelSim, and automatic focus is started by ModelSim
The emulation of FPGA design;The resulting simulation result of ModelSim will be run, then passes through the communication interface of MATLAB and ModelSim
It is input in MATLAB, shows, analyzes and calculate realization by image of the MATLAB to various outputting video streams and focused to automatic
The visualization combined debugging of FPGA design, specific implementation step are as shown in Figure 7:
MATLAB-ModelSim link channel is established in sub-step S301. Calling MATLAB order
It is established by using attribute [' socket', ' port'] Calling MATLAB function hdldaemon () and ModelSim
Link channel and start MATLAB server, wherein " port " be TCP/IP socket model port numbers.MATLAB service
Device can be communicated between multiple HDL entities in ModelSim emulator, but must specify a TCP/IP communication
Port numbers.For example, setting port numbers are " 0 " in the present invention, call instruction hdldaemon (' socket', ' 0') by system from
Dynamic distribution available port, and using the on-link mode (OLM) of " shared drive ".
Server state is checked in sub-step S302. Calling MATLAB order
The currently chain with ModelSim can be shown using attribute [' status'] Calling MATLAB function hdldaemon ()
The state connect.If returning to " HDLDaemon is NOTrunning " after calling, illustrate linking for MATLAB and ModelSim
Channel is not established;Otherwise on-link mode (OLM) (" shared drive " or " network communication " mode) and number of links can be returned.For example,
The status information of current link is obtained in the present invention by dstat=hdldaemon (' status'), and by field " ipc_id "
Obtain available port numbers: portnum=dstat.ipc_id.
Sub-step S303. starts ModelSim emulator from MATLAB environment
Start ModelSim emulator by Calling MATLAB function vsim, wherein vsim function can be by " attribute-name+category
Property value " carries out configuration vsim (' PropertyName', ' PropertyValue'...).For example, in the present invention by attribute '
Startupfile' generates the title that the DO file of vsimmatlab or vsimulink order is executed when emulation starts and path;
The customized Tcl order executed after the starting of ModelSim emulator is specified by attribute ' tclstart', these Tcl orders are to become
It measures the form setting of (tclcmd) and saves.I.e. call instruction vsim (' startupfile', ' test_sync.do', '
Tclstart', tclcmd) it realizes from MATLAB environment starting ModelSim emulator.Details are as follows:
Formulate customized Tcl order.The customized Tcl order executed after the starting of ModelSim emulator is specified in the present invention
It is arranged and is saved by variable tclcmd.Wherein contain the following contents:
(1) call ModelSim order " cd " that the operation directory path of current project is set.For example, in the present invention
Path projectdir='E:/ISE/ is set by the operation catalogue of current engineering using order [' cd'projectdir]
Autofocus/';
(2) it calls ModelSim order " vlib " to establish work library, i.e., establishes a work mesh under current operation catalogue
Record.For example, order [' vlib work'] is used in the present invention to establish the library work.Note: working as if directly being arrived in operating system
Establish that a work file automatically generates there is no ModelSim under preceding operation catalogue _ info file;
(3) ModelSim order " vmap " is called current logic working library work to be mapped to actual physics catalogue.
Road is currently installed on for example, order [' vmap work work'] being used in the present invention, work work library being mapped to ModelSim
The work subdirectory of diameter;
(4) ModelSim order " vcom " is called to compile VHDL file source code, if compiling Verilog source code needs
It uses order " vlog ".For example, be employed herein [' vcom'srcfile1], [' vcom'srcfile2] ..., ['
Vcom'srcfile6] infrared system is focused automatically respectively 6 FPGA modules (including 5 VHDL file source codes and one
Schematic diagram vhf file) it is compiled, it is provided with srcfile1=[' E:/ISE/Autofocus/CODEGEN.vhd'],
Srcfile2=[' E:/ISE/Autofocus/TVGEN.vhd'], srcfile1=[' E:/ISE/Autofocus/
TVPART.vhd'], srcfile1=[' E:/ISE/Autofocus/CODEGEN.vhd'], srcfile1=[' E:/ISE/
Autofocus/CODEGEN.vhd'], srcfile1=[' E:/ISE/Autofocus/spfilter.vhd'], srcfile1
=[' E:/ISE/Autofocus/test_sync.vhf'],;
(5) the specified HDL entity of ModelSim order " vsimmatlab " load emulation is called.Its call format is
Vsimmatlab<physical name>.For example, used in the present invention [' vsimmatlabtest_sync'] load as server
MATLAB function " test_sync ".
(6) ModelSim order " matlabtb " load MATLAB server functions are called and execute vsim order.It is adjusted
It is matlabtb<physical name>[<executing the time>] [- mfunc<m function name>] [- socket<TCP/IP port numbers>] with format
[- rising<port signal>[<port signal>...]] [- falling<port signal>[<port signal>...]] [-
Sensitivity<port signal>[<port signal>...]].It is wherein optional configuration attribute in [];[<executing the time>]
It can be configured to [<emulation end time>], [- repeat<time repetition period>] or [- cancel<emulation exit time>].Example
Such as, be used in the present invention order [' matlabtbtest_sync-mfunctest_sync-rising/test_sync/
Sclk1-socket'num2str (portnum)] HDL entity to be emulated is set for test_sync, it is real to be attached to corresponding HDL
The MATLAB server functions of body are test_sync, and clock drive signal is the std_logic signal of corresponding HDL entity
sclk1;Available TCP/IP port numbers are the portnum that the dstat.ipc_id in sub-step S302 is obtained;
(7) ModelSim order " matlabtbeval " is called to be immediately performed once specified MATLAB function.It is called
Format is matlabtbeval<physical name>[- mfunc<m function name>] [- socket<TCP/IP port numbers>].In the present invention
Not using being immediately performed primary MATLAB function.
(8) ModelSim order " add wave " is called to add signal to the waveform display window of ModelSim and the wave of output
In shape files.Its call format is add wave<port signal>[-<signal data type><port signal>...].For example,
In the present invention using order [' add wave " clk15', ' odd', ' hblk', '-Hex tv', ' vblk', ' tvosign', '-
Hex tvstream_out','tvblk','-unsigned tln','-unsigned tx','fzsign','-Hex
focuszone','wr','-unsigned addwr','rdstart','filter/RDperiod','filter/
receive','-unsigned addrd','filter/receivedata','-unsigned rdzone_out','
flsign','-unsigned filter_out','-unsigned filter/maskinxout','-unsigned
filter/mx','-unsigned filter/my','-unsigned filter/sum','fesign','-unsigned
Focus_eval'] the emulation signal that required waveform is shown is added to waveform display window.
(9) ModelSim order " force " addition emulation input signal is called.Its call format is force < port
Signal><port signal>[<port signal>...].In the present invention, due to using the pixel data of out-of-focus image as emulation
Input signal, therefore without using force order addition emulation input signal.
(10) ModelSim order " run " operation emulation is called.Its call format is force<port signal><port letter
Number>[<port signal>...].For example, in the present invention, using order [' run 58368000'] by entire simulation run 58 seconds
368 milliseconds.
Sub-step S304. Calling MATLAB order close ModelSim emulator and break link by using attribute ['
Kill'] Calling MATLAB function hdldaemon () closes and ModelSim emulator and disconnects link between the two.For example,
Call instruction hdldaemon (' kill') closes ModelSim emulator and break link in the present invention.
It is as shown in Figure 8 to the traditional EDA functional simulation of the automatic focusing FPGA module of certain infrared imaging system design.According to
It is imitative in ModelSim when the technical solution that the embodiment of the present invention proposes is debugged it in the form of visualizing associative simulation
True waveform is as shown in figure 9, visualization display interface is as shown in Figure 10.
In the description of this specification, the description of reference term " one embodiment ", " example ", " specific example " etc. means
Particular features, structures, materials, or characteristics described in conjunction with this embodiment or example are contained at least one implementation of the invention
In example or example.In the present specification, schematic expression of the above terms may not refer to the same embodiment or example.
Moreover, particular features, structures, materials, or characteristics described can be in any one or more of the embodiments or examples to close
Suitable mode combines.
Claims (5)
1. the visuable debugging method that a kind of infrared imaging focuses FPGA system automatically, which comprises the following steps:
Step 1, the client/server communication for establishing MATLAB and ModelSim link;
The MATLAB function of step 2, establishment as server;
Step 3, the associative simulation for carrying out ISE, ModelSim and MATLAB.
2. the method according to claim 1, wherein the step 1 is that infrared imaging focuses FPGA system automatically
The client/server communication that visualization debugs and establishes MATLAB and ModelSim links, including following two configuration mode:
(1) ModelSim is configured with interactive mode;
(2) ModelSim is configured with command mode.
3. according to the method described in claim 1, it is characterized in that, the step 2 be visualization debugging and work out
The concrete configuration of MATLAB server functions, including following sub-step:
System parameter when sub-step S201, initialization first time calling;
Sub-step S202, pumping signal wait emulate automatic focus module is generated;
Sub-step S203, it receives from the ModelSim response signal returned and carries out visualization display.
4. the method according to claim 1, wherein the step 3 carries out ISE, ModelSim and MATLAB's
The concrete operations of associative simulation include following sub-step:
Sub-step S301, Calling MATLAB order establish MATLAB-ModelSim link channel;
Sub-step S302: server state is checked in Calling MATLAB order;
Sub-step S303: start ModelSim emulator from MATLAB environment;
Sub-step S304: ModelSim emulator and break link are closed in Calling MATLAB order.
5. method according to claim 1-4, which is characterized in that realize that the process of the method includes following
Step: firstly, establishing the associative simulation communication link environment of ModelSim and MATLAB;Secondly, advantageously being called with MATLAB
Required input picture simultaneously generates excitation vision signal with this, is supplied to ModelSim emulator;Then, it is run by ModelSim
The functional simulation of the automatic focusing function module of infrared imaging;Finally, receiving returning after ModelSim operation emulates by MATLAB again
Letter in reply number, while video data signal therein is converted into focusing video image and carries out visualization presentation in MATLAB, and
Complete the test and analytical calculation of image;It is final to realize that focusing FPGA system automatically to infrared imaging in associative simulation environment sets
The visualization of meter is debugged.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910291534.7A CN110059395A (en) | 2019-04-12 | 2019-04-12 | A kind of infrared imaging focuses the visuable debugging method of FPGA system automatically |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910291534.7A CN110059395A (en) | 2019-04-12 | 2019-04-12 | A kind of infrared imaging focuses the visuable debugging method of FPGA system automatically |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110059395A true CN110059395A (en) | 2019-07-26 |
Family
ID=67318854
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910291534.7A Pending CN110059395A (en) | 2019-04-12 | 2019-04-12 | A kind of infrared imaging focuses the visuable debugging method of FPGA system automatically |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110059395A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113065299A (en) * | 2021-02-23 | 2021-07-02 | 杭州电子科技大学 | On-line verification method of image processing hardware logic HDL (hardware description language) module based on FPGA (field programmable gate array) cloud |
CN114510902A (en) * | 2022-04-20 | 2022-05-17 | 北京芯愿景软件技术股份有限公司 | Simulation result verification method, device, equipment and computer storage medium |
CN117829052A (en) * | 2024-01-15 | 2024-04-05 | 上海谐振半导体科技有限公司 | ModelSim and test system joint simulation debugging method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070094562A1 (en) * | 2005-10-11 | 2007-04-26 | Dustin Bingham | Apparatus and method for unified debug for simulation |
CN104363373A (en) * | 2014-11-06 | 2015-02-18 | 中国航空工业集团公司洛阳电光设备研究所 | NiosII based automatic infrared-image focusing system and method thereof |
CN105302950A (en) * | 2015-10-19 | 2016-02-03 | 北京精密机电控制设备研究所 | Software and hardware cooperation based cross-linking simulation test method for programmable logic device |
-
2019
- 2019-04-12 CN CN201910291534.7A patent/CN110059395A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070094562A1 (en) * | 2005-10-11 | 2007-04-26 | Dustin Bingham | Apparatus and method for unified debug for simulation |
CN104363373A (en) * | 2014-11-06 | 2015-02-18 | 中国航空工业集团公司洛阳电光设备研究所 | NiosII based automatic infrared-image focusing system and method thereof |
CN105302950A (en) * | 2015-10-19 | 2016-02-03 | 北京精密机电控制设备研究所 | Software and hardware cooperation based cross-linking simulation test method for programmable logic device |
Non-Patent Citations (6)
Title |
---|
万晓帆等: "在线自动聚焦红外热像仪系统设计", 《红外技术》 * |
崔冕等: "Xilinx ISE结合MATLAB对数字系统进行联合设计与仿真方法", 《空间电子技术》 * |
李寿强: "MATLAB和ModelSim联合仿真在FPGA开发中的应用", 《电子制作》 * |
范静等: "基于Modelsim与Matlab/Simulink联合仿真技术的接口与应用研究", 《西安邮电学院学报》 * |
陈燕等: "一种适于FPGA实现的中值滤波及软硬件协同仿真", 《华北水利水电学院学报》 * |
颜运强等: "VHDL元件的Simulink/Modelsim功能测试方法", 《信息与电子工程》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113065299A (en) * | 2021-02-23 | 2021-07-02 | 杭州电子科技大学 | On-line verification method of image processing hardware logic HDL (hardware description language) module based on FPGA (field programmable gate array) cloud |
CN113065299B (en) * | 2021-02-23 | 2024-01-09 | 杭州电子科技大学 | Online verification method of image processing hardware logic HDL module based on FPGA cloud |
CN114510902A (en) * | 2022-04-20 | 2022-05-17 | 北京芯愿景软件技术股份有限公司 | Simulation result verification method, device, equipment and computer storage medium |
CN117829052A (en) * | 2024-01-15 | 2024-04-05 | 上海谐振半导体科技有限公司 | ModelSim and test system joint simulation debugging method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110059395A (en) | A kind of infrared imaging focuses the visuable debugging method of FPGA system automatically | |
Endres et al. | A survey of software infrastructures and frameworks for ubiquitous computing | |
CN102449665B (en) | Displaying a visual representation of performance metrics for rendered graphics elements | |
MX2008003406A (en) | Extensible visual effects on active content in user interfaces. | |
CN107025037A (en) | A kind of control method and device of smart machine | |
CN106294184B (en) | The graphical creation method of test scene, device and terminal device | |
CN106780635A (en) | The picture adapting method and system of a kind of intelligent terminal | |
CN115048888A (en) | Integrated circuit verification method, integrated circuit verification device, simulation system, electronic device and medium | |
CN109086044B (en) | Simulation model development method based on components | |
CN109120708A (en) | Construction method, call method and the device of business module based on micro services component | |
CN116523738B (en) | Task triggering method and device, storage medium and electronic equipment | |
CN110209565A (en) | A kind of metadata schema adjustment method and its device | |
Pfeffer et al. | Video injection methods in a real-world vehicle for increasing test efficiency | |
CN115866164B (en) | Method, system and application for superimposing character information on infrared real-time image based on FPGA | |
Garcia et al. | A FPGA‐based experimentation system for designing, implementing, and evaluating real‐time video processing and analysis algorithms at undergraduate level | |
CN108495125A (en) | A kind of camera module test method, equipment and medium | |
Alhomoud | Real Time FPGA Implementation of a High Speed for Video Encryption and Decryption System with High Level Synthesis Tools. | |
Rekapalli et al. | Runtime user interaction in concurrent simulation-animations of construction operations | |
Mori et al. | A design methodology for the next generation real-time vision processors | |
CN110148077A (en) | A kind of method and MR intelligent glasses accelerating ELBP-IP core | |
CN110325966A (en) | Arithmetic inertia mark for emulation indicates | |
Vallecillos et al. | A component-based user interface approach for Smart TV | |
Olenev et al. | Co-modeling of embedded networks using systemc and SDL: From theory to practice | |
Jung et al. | Virtual development on mixed abstraction levels: an agricultural vehicle case study | |
Hopf | A parameterizable HandelC divider generator for FPGAs with embedded hardware multipliers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190726 |