Documente Academic
Documente Profesional
Documente Cultură
1. School of Mechanical and Electronic Engineering and Automation, Shanghai University, Shanghai 200072, P. R. China
2. Key Laboratory of Advanced Display and System Application, Shanghai 200072, P. R. China
©Shanghai University and Springer-Verlag Berlin Heidelberg 2010
Abstract In this paper, the design and verification process of an automobile-engine-fan control system on chip (SoC) are
introduced. The SoC system, SHU-MV08, reuses four new intellectual property (IP) cores and the design flow is accomplished
with 0.35 μm chartered CMOS technology. Some special functions of IP cores, the detailed integration scheme of four IP
cores, and the verification method of the entire SoC are presented. To settle the verification problems brought by analog IP
cores, NanoSim based chip-level mixed-signal verification method is introduced. The verification time is greatly reduced and
the first tape-out achieves success which proves the validity of our design
Keywords system on chip (SoC), intellectual property (IP)-core integration, verification, pulse width modulation (PWM)-
analog digital converter (ADC) linkage running
generated in compensated form, and dead-time[6] could core which can not only reset the system when some-
be inserted into the compensated wave which ensures thing wrong happens but also locate the source of the
the security of the running of the automobile engine fan. error program. FLASH is another analog IP core, which
realizes the on-chip code memory function of SHU-
MV08.
1.3 IP cores integration
One of the most acceptable IP reuse methods in an
SoC is connecting the new IP core with the kernel by sys-
tem buses. Most digital IP cores are integrated in this
manner. In the case of integrating PWM and MSWDT,
this classical method is adopted. In SHU-MV08, there
are three types of buses: address bus, data bus and
the control bus. Thus the process of integrating PWM
and MSWDT is connecting the two IP cores with these
buses. Figure 3 presents that digital IP cores are con-
nected with the MCU kernel by three buses which is the
integration method of PWM and MSWDT.
Fig.1 SHU-MV08 system architecture
2 Verification and results ent levels whenever the mixed-signal verification needs
executing. Besides that, formal verification method is
Due to the reliability of the IP cores, the verification
introduced to ensure the design quality.
method introduced below will focus on the system level
verification. Mixed-signals verification is very difficult 2.2 Results
task and will be paid more attention to. All the four IP cores have been verified successfully
2.1 Verification environment and flow during the verification flow, but it is impossible to lay
A mixed-signal verification environment is estab- out the total results. In this paper, the result of one
lished on our design work station which is able to carry mixed-signal verification procedure is presented. During
out not only the digital signal verification throughout this procedure, the instructions saved in FLASH order
the flow, but also the mixed-signal verification on dif- PWM to generate the waveform which triggers the con-
ferent hierarchies. Some electronic design automation versions of ADC (PMW-ADC linkage mode). In other
(EDA) tools are used in the environment, e.g. verilog words, three IP cores can be verified by the procedure
compiled simulator (VCS), design compiler, NanoSim, alone.
etc. To obtain more reliable results, a worse verification
To deal with the challenge of mixed-signal verifica- environment is selected for the analog parts. The sys-
tion, NanoSim is used. NanoSim obtains the advan- tem clock frequency is 13 MHz. Using the traditional
tages of simulation at full chip level which also promises simulation tool, e.g. spectre, the running time of one
the accuracy. By combining NanoSim with VCS and in- conversion period can be dozens of minutes. With the
tegrating them into new mixed-signal simulation flow, help of Nanosim, the simulation time is greatly reduced,
some shortages in traditional flow, e.g. large time con- and the accuracy is ensured as well. In this case, the
sumption are overcome, and an agility speed-versus- simulation time is set to 1 ms, and the total CPU run-
accuracy tradeoff is achieved. Furthermore, this method ning time is 26 min for 37 times of conversions.
can be integrated into the existing design flow easily and Figure 5 demonstrates the results, which are sepa-
can be carried out at different levels. rated into two parts. The instructions are stored in
The complete verification environment is shown in FLASH and the conversions are triggered at the cen-
Fig.4. A top level test bench written in Verilog is the ter of each high level of PWM wave. Three cores are
common top level throughout the flow. Digital parts involved in the procedure alone. The upper part shows
are described by Verilog or by netlist. In order to reduce the digital wave, and the lower part shows the analog
the simulation time, SRAM and FLASH are described ones. In the upper part, each rectangle wave represents
by the behavioral model in the front end design. ADC is a control register of PWM or ADC. PWM[1] is one of
described by spice netlist and NanoSim realized through the two PWM output tunnels. It is not difficult to find
the combination of digital parts and the ADC by an that an ADC conversion will be triggered at the center
interface called resistance map. When the mixed-signal of each high level of PWM[1] . At first, conversion re-
verification needs running, independent power, reference quest signal, pwmcon, is set high. Once it is received by
voltage, and input signals are needed by the ADC. All the ADC control module, the ADC enable signal, EN-
these are packed together with the ADC in the wrapper ABLE, will be set high, and the conversion clock will be
module. activated. The conversion start signal, ADS, will then
be sent to MCU. At the end of each conversion, some
stable values can be read from D out [9:0] which is also
the conversion results.
In the lower part, v(in3) is the sine-wave stimulation
signal with the frequency of 5 kHz and the amplifica-
tion of 1.65 V. To compare the conversion results, D out
[9:0] is displayed in the form of analog waves. It could
be found in Fig.4 that the ladder wave varies regularly
with the way of v(in3). The glitches between two close
steps are caused by the successive approximation pro-
cess during each conversion. Two points (A and B) are
marked in the figure to check the conversion accuracy.
Fig.4 Verification environment of SHU-MV08
At point A, the value of the analog sampling signal is
The design flow follows the traditional method basi- 2.570 V, while the value of its counterpart, A’, is 803
cally. With the help of VCS, the wave can be checked which corresponds to the analog value of 2.590 V. Sim-
at different levels. The synthesis process is finished by ilarly, the sampling value at point B is 1.13 V and the
the design compiler. NanoSim will be called at differ- conversion value at point B’ is 343 which corresponds
352 J Shanghai Univ (Engl Ed), 2010, 14(5): 349–353
to the analog value of 1.11 V. Deviations of both results state. At the same time, ADC will send the interrupt
meet the needs of the requirements. request signal to MCU.
In Fig.6, details of the single conversion process at Figure 7 is the final tape-out picture of SHU-MV08.
point B are displayed. The variations of D out [9:0] at The IP core in the up right corner is FLASH, and the
each clock cycle and the entire successive approximation down left and down right IP cores are RAM (old IP
process can be observed. When the conversion process core) and ADC. The tests after the first tape-out have
is finished, the value of D out [9:0] will be in a stable proved the validity of our design.
3 Conclusions
out have proved the validity of our design. [4] Castro J, Parra P, Valencia M, Acosta A J. A
switching noise vision of the optimization technique for
References low-power synthesis [C]// Proceedings of 18th Euro-
[1] Rahman K M, Choudhury M A. Dead-time compen- pean Conference on Circuit Theory and Design, Seville,
sated pulsewidth modulator for a 3-phase VSI imple- Spain. 2007.
mented with an AT89C52 microcontroller [C]// Pro- [5] Bonfini G, Chiavacci M, Mariani R, Pescari E. A
ceeding of 2006 4th International Conference on Elec- mixed-signal verification kit for verification of analogue-
trical and Computer Engineering, Dhaka, Bangladesh. digital circuits [C]// Proceedings of Design, Automa-
2006: 466–472. tion and Test in Europe, Munich, Germany. 2006: 1–6.
[2] Salmon J, Wang L P, Guay L. A current controller
for 1-phase pwm rectifiers using real-time internal feed- [6] Reiter T, Polenov D, Probstle H, Herzog H
back of the pwm controller signals [C]// Proceeding G. Optimization of PWM dead times in DC/DC—
of 2006 IEEE International Symposium on Industrial Converters considering varying operating conditions
Electronics, Montreal, Canada. 2006: 1448–1453. and component dependencies [C]// Proceedings of 13th
[3] Deshpande A. Verification of IP-Core based European Conference on Power Electronic and Appli-
SoC’s [C]// Proceeding of 2008 9th International cations, Barcelona, Spain. 2009: 1–10.
Symposium on Quality Electronic Design, San Jose,
USA. 2008: 433–436. (Editor JIANG Chun-ming)