电路原理图设计及Hspice实验报告
集成电路实验报告HSPICE
集成电路原理实验报告电子信息学院班级:XXX姓名:XXX学号:XXX2012 年6月实验一CMOS反相器特性仿真1. 实验目的(1)掌握CMOS反相器的工作原理,会仿真该电路的直流、交流和瞬态特性。
(2)掌握PSPICE工具的使用,包括晶体管模型的导入,设计和分析流程。
2.实验仪器或材料PC机、PSPICE8.0 EDA工具、CSMC-6S06DPDM工艺晶体管模型。
3.实验过程(1)CMOS反相器直流特性仿真输入和编辑CMOS反相器原理图,设置仿真属性,验证逻辑功能、电压及电流传输特性。
原理图:电压及电流传输特性输入和编辑CMOS反相器原理图,改变负载电容电容值,观察波形上升、下降时间及延迟时间;结果:管子尺寸不变,调节电容使得cmos电路充放电时间相等,p管(0.6/50)n管(0.6/20),充放电电容为11.5pf,充放电时间约为137us负载电容电容值不变,改变PMOS、NMOS管的宽长比,观察波形上升、下降时间及延迟时间。
等,p管(8/0.6)n管(4.5/0.6)充放电时间约为189us。
单管输出特性,栅极电压相等时,漏极电流随漏极电压的变化曲线实验二芯片逆向设计——电路提取1. 实验目的(1)掌握芯片逆向设计的一般流程。
(2)掌握常用数字单元电路提取方法。
2.实验仪器或材料正置式反相金相显微镜、CCD摄像头、投影仪、腐蚀后的74HC00芯片。
3.实验过程芯片逆向设计的一般流程提取横向特性提取纵向特性测试产品电学参数(1)芯片引脚图(2)芯片焊盘布图提取(3)VDD、GND布局布线提取(4)输入保护电路提取(5)内部逻辑提取(6)1/4芯片内部结构图(英文版)Two regulations promulgated for implementation is in the party in power for a long time and the rule of law conditions, the implementation of comprehensive strictly strategic plan, implementation in accordance with the rules and discipline to manage the party, strengthen inner-party supervision of major initiatives. The two regulations supporting each other, the < code > adhere to a positive advocate, focusing on morality is of Party members and Party leading cadres can see, enough to get a high standard; < rule > around the party discipline, disciplinary ruler requirements, listed as "negative list, focusing on vertical gauge, draw the party organizations and Party members do not touch the" bottom line ". Here, the main from four square face two party rules of interpretation: the first part introduces two party Revised regulations the necessity and the revision process; the second part is the interpretation of the two fundamental principles of the revision of laws and regulations in the party; the third part introduces two party regulations modified the main changes and needs to grasp several key problems; the fourth part on how to grasp the implementation of the two regulations of the party. < code > and < Regulations > revised the necessity and revised history of the CPC Central Committee the amendment to the Chinese CommunistParty members and leading cadres honest politics several guidelines > and < Chinese Communist Party discipline and Punishment Regulations > column 1 by 2015 to strengthen party laws and regulations focus. Two party regulations revision work lasted a Years, pooling the wisdom of the whole party, ideological consensus, draw historical experience, respect for the wisdom of our predecessors, which reflects the unity of inheritance and innovation; follow the correct direction, grasp the limited goals, adhere to the party's leadership, to solve the masses of the people reflect a focus on the problem. The new revision of the < code > and < rule >, reflects the party's 18 and the eighth session of the third, the spirit of the fourth plenary session, reflecting the experience of studying and implementing the General Secretary Xi Jinping series of important speech, reflects the party's eighteen years comprehensive strictly practice. (a) revised two regulations of the party need of < the ICAC guidelines > in < in 1997 Leaders as members of the Communist Party of China clean politics certain criteria (Trial) > based on revised, the promulgation and implementation of January 2010, to strengthen the construction of the contingent of leading cadres play an important role. But with the party to manage the party strictly administering the deepening, has not been able to fully meet the actual needs. Content is toocomplicated, "eight prohibition, 52 are not allowed to" hard to remember, and also difficult to put into practice; the second is concisely positive advocated by the lack of prohibited provisions excessive, no autonomy requirements; the third is banned terms and discipline law, both with the party discipline, disciplinary regulations repeat and Criminal law and other laws and regulations repeat; the fourth is to "clean" the theme is not prominent, not for the existing problems, and is narrow, only needle of county-level leading cadres above. < rule > is in 1997 < Chinese Communist Party disciplinary cases (Trial) > based on revision, in December 2003 the promulgation and implementation, to strengthen the construction of the party play very important role. Along with the development of the situation, which many provisions have been unable to fully meet the comprehensive strictly administering the practice needs. One is Ji law, more than half of the provisions and criminal law and other countries laws and regulations Repetition; two is the political discipline regulations is not prominent, not specific, for violation of the party constitution, damage the authority of Party Constitution of misconduct lack necessary and serious responsibility to pursue; third is the main discipline for the leading cadres, does not cover all Party members. Based on the above situation, need to < the criterion of a clean and honestadministration > and < rule > the two is likely to be more relevant regulations first amendment. By revising, really put the authority of Party discipline, the seriousness in the party tree and call up the majority of Party members and cadres of the party constitution of party compasses party consciousness. (II) two party regulations revision process the Central Committee of the Communist Party of China attaches great importance to two regulations revision . Xi Jinping, general books recorded in the Fifth Plenary Session of the eighth session of the Central Commission for Discipline Inspection, on the revised regulations < > made clear instructions. According to the central deployment, the Central Commission for Discipline Inspection from 2014 under six months begin study two regulations revision. The Standing Committee of the Central Commission for Discipline Inspection 4 review revised. Comrade Wang Qishan 14 times held a special meeting to study two regulations revision, amendment clarifies the direction, major issues of principle, path and target, respectively held a forum will listen to part of the province (area) secretary of the Party committee, Secretary of the Discipline Inspection Commission, part of the central ministries and state organs DepartmentThe first party committee is mainly responsible for people, views of experts and scholars and grassroots party organizations andParty members. Approved by the Central Committee of the Communist Party of China, on 7 September 2015, the general office of the Central Committee of the Party issued a notice to solicit the provinces (autonomous regions, municipalities) Party, the central ministries and commissions, state ministries and commissions of the Party (party), the General Political Department of the military, every 3 people organization of Party of two regulations revision opinion. Central Commission for Discipline Inspection of extensive solicitation of opinions, careful study, attracting, formed a revised sent reviewers. In October 8 and October 12, Central Committee Political Bureau Standing Committee and the Political Bureau of the Central Committee After consideration of the two regulations revised draft. On October 18, the Central Committee of the Communist Party of China formally issued two regulations. Can say, two laws amendment concentrated the wisdom of the whole party, embodies the party. Second, < code > and < Regulations > revision of the basic principles of two party regulations revision work and implement the party's eighteen, ten eight plenary, the spirit of the Fourth Plenary Session of the Eleventh Central Committee and General Secretary Xi Jinping important instructions on the revised < low political criterion > and < Regulations >, highlighting the ruling partycharacteristics, serious discipline, the discipline quite in front of the law, based on the current, a long-term, advance as a whole, with Bu Xiuding independent < rule > and < rule >. Main principle is: first, adhere to the party constitution to follow. The constitution about discipline and self-discipline required specific, awaken the party constitution of party compasses party consciousness, maintaining the authority of the constitution. General Secretary Xi Jinping pointed out that "no rules, no side round. Party constitution is the fundamental law, the party must follow the general rules. In early 2015 held the eighth session of the Central Commission for Discipline Inspection Fifth Plenary Session of the 16th Central Committee, Xi Jinping again pointed out that constitution is the party must follow the general rules, but also the general rules." the revision of the < code > and < rule > is Method in adhere to the regulations established for the purpose of combining rule of virtue is to adhere to the party constitution as a fundamental to follow, the constitution authority set up, wake up the party constitution and party rules the sense of discipline, the party constitution about discipline and self-discipline specific requirements. 4 second is to adhere to in accordance with the regulations governing the party and the party. The Party of rule of virtue "de", mainly refers to the party's ideals and beliefs, excellent traditional style. The revised the< code > closely linked to the "self-discipline", insisting on the positive initiative, for all members, highlight the "vital few", emphasized self-discipline, focusing on the morality, and the majority of Party members and the ideological and moral standards. The revised < > Ji method separately, Ji, Ji Yan to Method, as a "negative list", emphasizing the heteronomy, focusing on vertical gauge. Is this one high and one low, a positive reaction, the strict party discipline and practice results transformation for the integration of the whole party to observe moral and discipline requirements, for the majority of Party members and cadres provides benchmarking and ruler. Third, insist on to. In view of the problems existing in the party at the present stage, the main problems of Party members and cadres in the aspect of self-discipline and abide by the discipline to make clearly defined, especially the party's eighteen years strict political discipline and political rules, organization and discipline and to implement the central eight provisions of the spirit against the four winds and other requirements into Disciplinary provisions. Not one pace reachs the designated position, focusing on in line with reality, pragmatic and effective. After the revision of major changes, major changes in the < code > and < rule > modified and needs to grasp several key problems (a) < code > < code > adhere to according to regulationsgoverning the party and party with morals in combination, for at the present stage, the leadership of the party members and cadres and Party members in existing main problems of self-discipline, put forward principles, requirements and specifications, showing Communists noble moral pursuit, reflected at all times and in all over the world ethics from high from low 5 common requirements. One is closely linked to the "self-discipline", removal and no direct relation to the provisions of . the second is adhere to a positive advocate, "eight prohibition" 52 are not allowed to "about the content of the" negative list moved into synchronization amendment < cases >. Three is for all the party members, will apply object from the leadership of the party members and cadres to expand to all Party members, fully embodies the comprehensive strictly required. The fourth is prominent key minority, seize the leadership of the party members and cadres is the key, and put forward higher requirements than the ordinary Party members. Five is to simplify, and strive to achieve concise, easy to understand, easy to remember. The revised < code > is the ruling Party since the first insists on a positive advocate forAll Party members and the self-discipline norms, moral declaration issued to all members of the party and the National People's solemn commitment. > < criterion of a clean and honest administration consists of 4 parts, 18,more than 3600 words. After the revision of the < code >, a total of eight, 281 words, including lead, specification and Party member cadre clean fingered self-discipline norms, etc. Part 3 members low-cost clean and self-discipline, the main contents can be summarized as "four must" "eight code". Lead part, reiterated on ideal and faith, fundamental purpose, the fine traditions and work style, noble sentiments, such as "four must" the principle of requirements, strong tone of self-discipline, The higher request for 6 and supervised tenet, the foothold in permanent Bao the party's advanced nature and purity, to reflect the revised standards requirements. Members of self-discipline norms around the party members how to correctly treat and deal with the "public and private", "cheap and rot" thrifty and extravagance "bitter music", put forward the "four norms". Party leader cadre clean fingered self-discipline norms for the leadership of the party members and cadres of the "vital few", around the "clean politics", from civil servant of the color, the exercise of power, moral integrity, a good family tradition and other aspects of the leadership of the party members and cadres of the "four norms" < > < norm norm. "The Party member's self-discipline norms" and "party members and leading cadre clean fingered self-discipline norms," a total of eight, collectively referred to as the "eight". "Four must" and "eight" of thecontent from the party constitution and Party's several generation of leaders, especially Xi Jinping, general secretary of the important discussion, refer to the "three discipline and eight points for attention" statements, and reference some embody the Chinese nation excellent traditional culture essence of epigrams. (2) the revised regulations, the main changes in the revised Regulations > to fully adapt to the strictly requirements, reflects the according to the regulations governing the law of recognition of deepening, the realization of the discipline construction and Jin Ju. < rule > is party a ruler, members of the basic line and follow. And the majority of Party members and cadres of Party organizations at all levels should adhere to the bottom line of thinking, fear discipline, hold the bottom line, as a preventive measure, to keep the party's advanced nature and purity. 1, respect for the constitution, refinement and discipline. Revised < rule > from comprehensive comb physical constitution began, the party constitution and other regulations of the Party of Party organizations and Party discipline requirements refinement, clearly defined in violation of the party constitution will be in accordance with regulations to give the corresponding disciplinary action. The original 10 categories of misconduct, integration specification for political discipline, discipline, honesty and discipline masses Ji Law and discipline and discipline andother six categories, the content of < rule > real return to Party discipline, for the majority of Party members and listed a "negative list. 7 2, highlighting the political discipline and political rules. > < Regulations according to the stage of the discipline of outstanding performance, emphasizing political discipline and political rules, organization and discipline, in opposition to the party's leadership and the party's basic theory, basic line, basic program and basic experience, the basic requirement of behavior made prescribed punishment, increase the cliques, against the organization such as violation of the provisions, to ensure that the central government decrees and the Party of centralized and unified. 3, adhere to strict discipline in the law and discipline In front, Ji separated. Revised < Regulations > adhere to the problem oriented, do Ji separated. Any national law existing content, will not repeat the provisions, the total removal of 79 and criminal law, repeat the content of the public security management punishment law, and other laws and regulations. In the general reiterated that party organizations and Party members must conscientiously accept the party's discipline, die van comply with national laws and regulations; at the same time, to investigate violations of Party members and even criminal behavior of Party discipline and responsibility, > < Regulations distinguish five different conditions, with special provisions weremade provisions, so as to realize the connection of Party discipline and state law. 4, reflect Wind building and anti-corruption struggle of the latest achievements. < rule > the party's eighteen years implement the spirit of the central provisions of the eight, against the requirements of the "four winds" and transformation for disciplinary provisions, reflecting the style construction is always on the road, not a gust of wind. In the fight against corruption out of new problems, increase the trading rights, the use of authority relatives profit and other disciplinary terms. Prominent discipline of the masses, the new against the interests of the masses and ignore the demands of the masses and other disciplinary terms and make provisions of the disposition and the destruction of the party's close ties with the masses.Discipline to protect the party's purpose. 8 of these regulations, a total of three series, Chapter 15, 178, more than 24000 words, after the revision of the regulations a total of 3 series, Chapter 11, 133, 17000 words, divided into "general" and "special provisions" and "Supplementary Provisions" Part 3. Among them, add, delete, modify the provisions of the proportion of up to nearly 90%. 1, the general general is divided into five chapters. The first chapter to the regulations of the guiding ideology, principles and scope of application of the provisions, highlight the strengthening of the partyconstitution consciousness, maintenance the authority of Party Constitution, increase the party organizations and Party members must abide by the party constitution, Yan Centralized centralized, would examine at all levels of the amended provisions implementing and maintaining Party discipline, and consciously accept the party discipline, exemplary compliance with national laws and regulations. The second chapter of discipline concept, disciplinary action types and effects of the regulations, will be a serious warning from the original a year for a year and a half; increase the Party Congress representative, by leaving the party above (including leave probation) punishment, the party organization should be terminated its representative qualification provisions. The third chapter of the disciplinary rules of use prescribed in the discipline rectifying process, non convergence, not close hand classified as severely or heavier punishment. "Discipline straighten "At least eighteen years of five years, these five years is to pay close attention to the provisions of the central eight implementation and anti -" four winds ". The fourth chapter on suspicion of illegal party disciplinary distinguish five different conditions, with special provisions were made provisions, to achieve effective convergence of Party and country 9 method. < rule > the provisions of Article 27, Party organizations in thedisciplinary review found that party members have committed embezzlement, bribery, dereliction of duty dereliction of duty and other criminal law act is suspected of committing a crime shall give cancel party posts, probation or expelled from the party. The second is < Regulations > Article 28 the provisions of Party organizations in the disciplinary review But found that party members are stipulated in the criminal law, although not involved in a crime shall be investigated for Party discipline and responsibility should be depending on the specific circumstances shall be given a warning until expelled punishment. This situation and a difference is that the former regulation behavior has been suspected of a crime, the feeling is quite strict, and the latter for the behavior not involving crime, only the objective performance of the provisions of the criminal code of behavior, but the plot is a crime to slightly. < Regulations > the 29 provisions, Party organizations in the discipline review found that party members and other illegal behavior, affect the party's image, the damage to the party, the state and the people's interests, we should depend on the situation Seriousness given disciplinary action. The loss of Party members, seriously damaging the party's image of behavior, should be given expelled from the party. At this article is party member is in violation of the criminal law outside the other illegal acts, such as violatesthe public security administration punishment law, customs law, financial laws and regulations behavior. The fourth is < cases > Article 32 stipulates, minor party members and the circumstances of the crime, the people's Procuratorate shall make a decision not to initiate a prosecution, or the people's court shall make a conviction and exempted from criminal punishment shall be given within the party is removed from his post, probation or expelled from the party. Party members and crime, sheets were fined in accordance with For acts; the principal Ordinance amended the provisions of the preceding paragraph. This is the new content, in order to achieve Ji method effective convergence. Five is < > the thirty third article 10 of the provisions, the Party member due to an intentional crime is sentenced to criminal law (including probation) sheets or additional deprivation of political rights; due to negligence crime and was sentenced to three years or more (excluding three years) a penalty, shall give expelled punishment. Due to negligence crime is convicted and sentenced to three years (including three years) in prison or be sentenced to public surveillance, detention, shall in general be expelled from the party. For the individual may not be expelled from the party, should control Approval. This is followed and retained the original > < Regulations the provisions of punishment party authorization rules and report to a level partyorganizations. For is "party members with criminal acts, and by the criminal punishment, generally should be expelled from the party". The fifth chapter of probationary Party member of the discipline and discipline after missing members of the treatment and punishment decisions, such as the implementation of the provisions, clear the related party discipline and punishment decision made after, for duties, wages and other relevant alteration formalities for the longest time. 2, sub sub section will the original regulations of10 categories of acts of violation of discipline integration revised into 6 categories, respectively, in violation of the punishments for acts of political discipline "in violation of discipline behavior of punishment" in violation of integrity of disciplinary action points "of violation punishments for acts of mass discipline" "the violation of work discipline, punishment" in violation of discipline of life behavior punishment "6 chapters. 3, annex" Supplementary Provisions "clear authority making supplementary provisions of, cases of interpretative organ, as well as regulations implementation time and retroactivity etc.. 11 (3) learning understanding > < regulations needs to grasp several key problems The first problem -- about the violation of political discipline behavior > < new ordinance chapter 6 the political discipline column for the six disciplines, that is the main opposition to Party leadership and the opposition of the basictheory, basic line, basic program and basic experience, basic requirements of misconduct made provisions of the disposition, especially the eighteen since the CPC Central Committee put forward the Yan Mingzheng treatment of discipline and political rules requirements and practical achievements transformation for Discipline article, increase the false debate central policies, cliques, against the organization review, make no discipline of the principle of harmony terms. These are the party's eighteen years in comprehensive strictly Process combined with the practice of rich content. (1) false debate the central policies and undermine the Party of centralized and unified the problem is made in accordance with the provisions of the party constitution. Constitution in general programme requirements adhere to democratic centralism is one of the requirements of the construction of the party must adhere to the four cardinal. Application of this principle is not only the party the basic organization principle and is also the mass line in party life, it requires that we must fully develop inner-party democracy, respect for the dominant position of Party members, safeguarding the Party member democratic rights, give full play to the enthusiasm and creativity of the party organizations at all levels and Party members, at the same time, also must implement the right concentration, ensure the party's mission < the chaos in unity and concertedaction to ensure that the party's decision to get quickly and effectively implementing. The Party Central Committee formulated the major principles and policies, through different channels and ways, fully listen to the party organizations and Party members of the opinions and suggestions, but 12 is some people face to face not to say back blather "" will not say, after the meeting said, "" Taiwan does not say, and nonsense ", in fact, not only disrupt the people thought, some causing serious consequences, the damage to the Party of the centralized and unified, hinder the central policy implementation, but also a serious violation of the democratic system of principles. There is no doubt that shall, in accordance with the Regulations > 4 Specified in Article 6 to give the appropriate punishment. For did not cause serious consequences, to give criticism and education or the corresponding tissue processing. (2) about the destruction of the party's unity < New Regulations > the forty eighth to fifty second article, to damage Party's unity unified and violation of political discipline, punishment situation made explicit provisions. Article 52 of the new "in the party get round group, gangs seek private gain, cliques, cultivate private forces or through the exchange of interests, for their own to create momentum and other activities to gain political capital, given a serious warning or withdraw from their party posts disposition; if thecircumstances are serious, to give Leave a party to observation or expelled from the party. (3) on against the organization review of the provisions of the constitution, party loyalty honesty is party members must comply with the obligations. Members must obey the organization decision, shall not violate the organization decided encounters by asking questions to find organization, rely on the organization, shall not deceive the organization, against the organization. For example, after the investigation does not take the initiative to explain the situation, but to engage in offensive and defensive alliance, hiding the stolen money is against survey organization, is a violation of the behavior of political discipline. Article 24 of the original > < Regulations, although the provisions of the interference, hinder group review the behavior of the fabric can be severely or 13 Aggravated punishment, but did not put this kind of behavior alone as a discipline for qualitative amount of discipline. > < new regulations increase the Article 57, "anti organization review, one of the following acts, given a warning or serious warning; if the circumstances are relatively serious, giving removed from or placed on probation within the party post; if the circumstances are serious, give expelled from the party: (a) on supply or forged, destroyed, transfer, conceal evidence; (II) to prevent others expose, providing evidence。
集成实验Hspice实验报告
武汉大学电工电子实验教学示范中心集成电路设计实验实验报告电子信息学院学院电子信息工程专业2014 年 6 月 5 日图1三. 实验设备与软件平台微型计算机,Synopsys Hspice。
二、实验操作部分1.实验数据、表格及数据处理(综合结果概要、仿真波形图、时序分析结果、signalTAPII 结果等)2.实验操作过程(可用图表示)3.结论四. 实验内容1. 设计一个由NMOS 和PMOS 管组成的CMOS 反相器电路,对所设计CMOS 反相器进行瞬态仿真;2. 设计一个CMOS 线型放大器电路,对所设计CMOS 线型放大器进行仿真。
五. 实验步骤1.CMOS 反相器仿真实验(1)在Windows平台下找到Hspice软件所在目录,C:\ - synopsys - Hspice2005.03,在Hspice2005.03文件夹中新建文本文档,编辑CMOS 反相器仿真程序并保存为test1.sp文件。
(2)启动hspice_mt,点击菜单File - Simulate运行仿真,保存输入输出文件。
图2 图3使用文本编辑器查看test1.lis 和test1.st0文件并分析这两个文件,查看仿真结果。
(3)启动AvanWaves W-2005.03,在AvanWaves 程序主窗口中,点击菜单Design->Open-> 选择test1.sp文件->OK->出现"Results Browser"窗口。
在"Results Browser"窗口中,选择“Transient: Invertertran circuit”,在“Types”中选择“Voltages”,在“Curves”中双击“v(in”和“v(out”,则AvanWaves 程序主窗口中出现相应电压波形,点击“Close”关闭"Results Browser"窗口。
HSPICE实验报告2
HSPICE实验报告姓名:学号:专业:集成电路设计一、仿真电路:二、仿真网表:************************************************************************ * auCdl Netlist:** Library Name: zyz* Top Cell Name: lab4* V iew Name: schematic* Netlisted on: Apr 28 15:50:08 2011*************************************************************************.BIPOLAR*.RESI = 2000*.RESV AL*.CAPV AL*.DIOPERI*.DIOAREA*.EQUA TION*.SCALE METER*.MEGA.PARAM*.GLOBAL vcc!+ gnd!*.PIN vcc!*+ gnd!************************************************************************ * Library Name: zyz* Cell Name: lab4* V iew Name: schematic************************************************************************.SUBCKT lab4*.PININFORR0 vcc! net5 500 $[RP]MM0 net5 net5 gnd! gnd! NM W=1u L=10u m=1.ENDS*lab4.lib 'F:\HISPICE\2840710631\cz6h_v20.lib' tt.OPTIONS POST LIST node.GLOBAL vcc!+ gnd!vcc vcc! 0 3.dc vcc 0 5 0.1MM0 vref vref gnd! nenh W=5u L=1u m=1 RR0 vcc! vref 500k.print v(V ref) i(mm0).end*lab4.lib 'F:\HISPICE\2840710631\cz6h_v20.lib' tt.OPTIONS POST LIST node.GLOBAL vcc!+ gnd!vcc vcc! 0 3.dc vcc 0 5 0.1MM0 vref vref gnd! nenh W=5u L=1u m=1 RR0 vcc! vref r_value.dc r_value 500k 2000k 100.param r_value=1020k wn=5u.print v(V ref) i(mm0).end三、仿真图像:更改宽长比时:1.当为1X电流镜时*mirror2.lib'F:\hspice0631\cz6h_v20.lib'tt.options list node postMM0 vref vref gnd! gnd! nenh w=5 L=1u m=1RR0 vcc! vref r_value $[RP]MM1 vout vref gnd! gnd! nenh w=5 L=1u m=1vout vout 0 3.dc vout 0 3 0.1vcc vcc! 0 3.param r_value=1020k.print v(vref) i(mm0) i(mm1).end仿真图像:当沟道长度都增加10倍时2.当为4X电流镜时,只需要沟道宽度增加4倍。
cmos实验
v2 vout 0 1
.dc v1 0 5 0.1
.probe i1(mn0)
.end
6、对于CMOS反向器电路,PMOS的W/L为4u/0.6u,NMOS的W/L为2u/0.6u,Vdd为5V,假设输入波形为pwl(0 0 5u 5),仿真得出输出波形。
*coms_test
mn0 vout vin 0 0 NM w=2u l=0.6u
其中Ids是漏极电流;Vgs是栅-源电压;VT是器件的开启电压;KN是NMOS晶体管的跨导系数,KN与工艺参数及器件的几何尺寸有关,其关系为:
这里,μn表示沟道中电子的有效表面迁移率;ε是栅绝缘层的介电常数,tox是栅绝缘层的厚度;W是沟道宽度;L是沟道长度,因此,跨导系数包括了一个与工艺有关的本征导电因子项(KN=μnε/tox),一个几何尺寸有关项(W/L),工艺有关项考虑了所有的工艺因素,如掺杂浓度,栅氧化层的厚度等;而几何尺寸的有关项则与器件的实际版图有关。
.probe
.end
4、在温度为0℃-80℃的范围内线性取下5个点,仿真NMOS的I/V特性曲线,并比较它们的差异以及Id随温度的变化趋势以及变化量。
*nmos_I-V_test
mn0 vout vin 0 0 NM w=2u l=1u
.Model NM NMOS vt0=0.7 kp=110u gamma=0.4 lambda=0.04 phi=0.7
1、无源负载共源放大器电路如图1所示,使用Hspice负载得出该电路的(1)输入输出特性曲线;(2)直流工作点;(3)交流小信号幅频特性曲线。
图1无源负载共源放大器
(1)输入输出特性曲线
网表如下:
* single_amp_input_output_test
HSPICE实验2
一、实验内容:3. (1)求上述反相器的电压转换曲线,根据其特性曲线找出电路临界电压值Vckt (Vckt=Vin=V out);(.dc vin 0 0.25 0.25)(2)若想得到Vckt=Vdd/2的电路临界值,那么PMOS及NMOS的栅极宽度比值应该是多少?(扫描wn或wp,根据模型提供的宽长比范围选择扫描范围。
wn(0.35u~0.4u, 0.001u),wp(1.2u~1.21u, 0.001u),范围越小,线性度越好。
Vin vin 0 DC 1.25.dc wp 1.2u 1.21u 0.001u )(3)令V SB从0变化到0.3V,求反相器的电压转换曲线,解释V OUT产生变化的原因。
(.dc vin 0 2.5 0.25 sweep vsb 0 0.3 0.1)4. 考虑下图中的电路:(1)如上图所示,输入一个脉冲信号Vin:pulse(0 Vdd 5n 0.1n 0.1n 9n 20n),.测量它的上升时间tr、下降时间tf、传播延时tp和平均功耗。
其中:tp=(TPLH+TPHL)/2(2)当Vdd从1V变化到2.5V,且步长为0.25时,测量tp和平均功耗。
利用这些数据绘出“tp—Vdd”、“Power—Vdd”,分析Vdd变化对转换器性能有什么影响。
5.考虑下图中的电路:图5 CMOS组合逻辑门a.CMOS晶体管网络所完成的逻辑功能是什么?确定NMOS和PMOS器件的尺寸,使得输出电阻与由一个W/L=4的NMOS管和一个W/L=8的PMOS管组成的反相器的输出电阻相等。
(.TF V(out) vin)b.什么样的输入模式导致最坏情况的t pHL和t pLH。
清楚说明为了获得最大的传播延时,初始输入模式是什么和那个(些)输入必须发生变化。
考虑内部节点的电容的效应。
c.用SPICE验证上面两步。
假设所有晶体管具有最小栅长(0.25μm)。
(完整版)HSPICE与CADENCE仿真规范与实例..
电路模拟实验专题实验文档一、简介本实验专题基于SPICE(Simulation Program With Integrated Circuit)仿真模拟,讲授电路模拟的方法和spice仿真工具的使用。
SPICE仿真器有很多版本,比如商用的PSPICE、HSPICE、SPECTRE、ELDO,免费版本的WinSPICE,Spice OPUS等等,其中HSPICE和SPECTRE功能更为强大,在集成电路设计中使用得更为广泛。
因此本实验专题以HSPICE和SPECTRE作为主要的仿真工具,进行电路模拟方法和技巧的训练。
参加本实验专题的人员应具备集成电路设计基础、器件模型等相关知识。
二、Spice基本知识(2)无论哪种spice仿真器,使用的spice语法或语句是一致的或相似的,差别只是在于形式上的不同而已,基本的原理和框架是一致的。
因此这里简单介绍一下spice的基本框架,详细的spice语法可参照相关的spice教材或相应仿真器的说明文档。
首先看一个简单的例子,采用spice模拟MOS管的输出特性,对一个NMOS管进行输入输出特性直流扫描。
V GS从1V变化到3V,步长为0.5V;V DS从0V变化到5V,步长为0.2V;输出以V GS为参量、I D与V DS之间关系波形图。
*Output Characteristics for NMOSM1 2 1 0 0 MNMOS w=5u l=1.0uVGS 1 0 1.0VDS 2 0 5.op.dc vds 0 5 .2 Vgs 1 3 0.5.plot dc -I(vds).probe*model.MODEL MNMOS NMOS VTO=0.7 KP=110U+LAMBDA=0.04 GAMMA=0.4 PHI=0.7.end描述的仿真电路如下图,图2-1 MOS管输入输入特性仿真电路图得到的仿真波形图如下图。
从这个简单的spice程序中可以知道spice电路描述的主要组成部分。
HSPICE报告
摘要信息时代的主要特征是信息传递速度快,信息的发射和接收装置是电子设备,这些电子设备无一例外的都应用到滤波器。
而滤波器的好坏直接决定着传递信息的质量。
因此设计开发工作频率高、温度稳定性好、体积小、重量轻、非线性误差小,对元件灵敏度低的滤波器,不但可以提高滤波器的降噪能力,提高滤波器的集成度,还可拓宽滤波器应用领域,推进电子通信行业向纵深发展。
论文的主要内容有:1.高阶模拟滤波器的设计和分析。
通常设计高阶有源滤波器的基本方法是基于对LC网络模拟的设计方法。
本论文主要讨论基于对双端接电阻的LC梯形网络模拟的高阶有源滤波器的设计法。
这是一种以无源LC梯形网络为基础来设计有源RC滤波器和其他有源滤波器的最基本的方法。
主要包括对LC梯形网络工作的模拟和对LC梯形网络元件的模拟两种方法。
双端接电阻或双端接载的LC梯形网络从信号源到负载传输的功率最大时,网络具有很低的灵敏度。
所以用基于对LC梯形网络模拟的方法设计出的有源滤波器也具有比较低的灵敏度。
2.HSPICE软件的应用。
模拟滤波器仿真次数多,输出数据量大,利用HSPICE 仿真软件以文本文件形式输入输出的特征,以及电路描述简单,元件模型完备的特点,设计实现了对高阶模拟滤波器的仿真。
目录第一章绪论 (1)1.1 滤波器理论的发展 (1)1.2 有源滤波器介绍 (2)1.3 滤波器研究现状 (2)1.4 本章小结 (3)第二章基于对LC网络模拟的高阶有源RC滤波器的分析与设计 (4)2.1 全极点低通滤波器的分析与设计 (5)第三章HSPICE实现..............................3.1 HSPICE仿真软件....................................第四章第一章绪论1.1滤波器理论的发展自从人类进入电气时代,特别是电子产品进入人类的生活,人类生活发生了翻天覆地的变化。
以前的电子产品功能比较单一,且观看效果比较差,比如以前的电视机,观看的时候发现图像背景上有大量的‘雪花’,这些雪花其实就是电视的滤波性能不好,滤波器技术不成熟造成的结果。
实验4电流源和差分运放的HSPICE仿真
《电流源和差分运放的Hspice仿真》实验报告学生姓名:丁英光学号:111200508专业班级:微电子学1班指导教师:江浩二○一四年十一月十七日实验四电流源和差分运放的Hspice仿真一、实验目的1、复习各种结构电流源的电路结构、特点及工作原理。
2、复习差分运放电路结构及工作原理。
3、学会使用Hspice 调节并仿真电路,使电路达到相应要求。
二、实验内容1、图1为基本电流镜结构,请编写电路网表,模拟仿真当输出电压v(2)从0~5V 变化时,输出电流I o的变化情况。
(工作电压为5V ,M1,2:W/L=5μ/1μ)图1 基本电流镜结构 图2 威尔逊电流源.title dianliujing .options post=2.include '/home/jingjing/hspice/models/tsmc35.m'm2 1 1 0 0 tsmc35n w=5u l=1um1 2 1 0 0 tsmc35n w=5u l=1uv2 2 0 3ir vdd 1 100uvdd vdd 0 5v.dc v2 0 5 0.01.op.probe i1(m1).end2、图2为威尔逊电流源结构,请编写电路网表,模拟仿真当输出电压v(4)变化时,输出电的变化情况。
(工作电压为5V ,M1,2,3,4:W/L=5μ/1μ)流Io.title wilson current mirrors.options list post=2.include '/home/jingjing/hspice/models/tsmc35N.m'm1 2 1 0 0 tsmc35n w=5u l=1um2 1 1 0 0 tsmc35n w=5u l=1um3 4 3 1 0 tsmc35n w=5u l=1um4 3 3 2 0 tsmc35n w=5u l=1uv4 4 0 1idc vdd 3 1mvdd vdd 0 5v.dc v4 2 5 0.1 sweep idc 1m 2m 1m.print dc i(m3) i(m4).end3、图3为共源共栅电流源结构,请编写电路网表,模拟仿真当输出电压v(4)变化时,输出电流I o的变化情况。
电路原理图设计及Hspice仿真
电路原理图设计及Hspice仿真实验报告学生姓名:学号:指导老师:实验内容:用EDP原理图设计软件设计出两级运算放大器的电路图用Hspice软件完成此两级运算放大器的仿真实验地点:***实验室实验时间:2009年9月——2009年12月实验任务:根据运算放大器的设计要求(单位增益带宽、相位裕量、输入等效噪声、功耗等),选择电路结构,详细分析了CMOS 运算放大器的所有性能参数,使用Level one 模型进行手工计算,设计出器件的几何尺寸,最后通过Hspice 仿真软件给出了性能指标的仿真结果。
实验思路:两级运放可以同时实现较高增益和较大输出摆幅,其设计思路是将增益和摆幅要求分别处理,而不是在同一级中兼顾增益与摆幅。
即运用第一级放大器得到高增益,可以牺牲摆幅,第二级放大器主要实现大输出摆幅,以补偿第一级牺牲的摆幅,并进一步提升增益,从而克服了单级运放增益与摆幅之间的矛盾,同时实现高增益和大摆幅。
实验指标:开环增益≥80DB;共模抑制比≥60DB;相位裕度≥60°;实验步骤:一、用EDP原理图设计软件设计两级运算放大器的电路图,电路图如图一所示:图一:CMOS两级运算放大器电路图1、电路工作原理:信号由差分对管两端输入,差模电压被转化为差模电流,差模电流作用在电流镜负载上又转化成差模电压,信号电压被第一次放大后被转化为单端输出,随即进入共源级再一次被放大后从漏端输出。
电路特点是通过两级结构可以同时满足增益和输出摆幅的要求,即第一级提供高增益,可以牺牲摆幅,第二级弥补摆幅,同时进一步增大增益。
2、电路主体结构由两个两个单级放大器构成,分别是:差分输入级和共源增益级。
辅助电路为偏置电路和频率补偿电路。
差分输入级采用PMOS 输入对管,NMOS 电流镜负载;共源级采用NMOS 放大管,PMOS 负载管;由六个MOS 管和一个电阻构成的电流源为两级放大电路提供偏置,另外还为频率补偿MOS 管提供偏压;一个NMOS 管和一个电容构成频率补偿电路,连接在共源级的输入输出之间作为密勒补偿。
电子科技大学集成电路实验报告——模拟集成电路
CMOS 模拟集成电路设计及HSPICE 使用实验学时:4学时实验一 CMOS 工艺参数测量 一、实验目的:学习和掌握EDA 仿真软件Hspice ;了解CMOS 工艺技术及元器件模型,掌握MOSFET 工作原理及其电压电流特征;通过仿真和计算,获得CMOS 中NMOS 和PMOS 的工艺参数,,,,,p n p n tp tn k k V V λλ,为后续实验作准备。
二、实验内容:1) 通过Hspice 仿真,观察NMOS 和PMOS 管子的I-V 特性曲线;2)对于给定长宽的MOSFET ,通过Hspice 仿真,测得几组栅-源电压、漏-源电压和漏-源电流数据,代入公式21()()(1)2DSn n n GS tn n DS WI K V V V Lλ=-+,求得对应的工艺参数,,,,,p n p n tp tn k k V V λλ 。
三、实验结果:本实验中所测试的NMOS 管、PMOS 管L=1u ,W 由学号确定。
先确定W 。
W 等于学号的最后一位,若学号最后一位=0,则W=10u 。
所以,本实验中所测试的NMOS 管、PMOS 管的尺寸为:L=1u ,W=( 8 )u 。
(1) 测0.5um 下NMOS 和PMOS 管的I-V 特性曲线所用工艺模型是 TSMC 0.50um 。
所测得的Vgs=1V 时,NMOS 管Vds 从0V 到2.5V 变化时的I-V 特性曲线为:所测得的Vds=1.2V时,NMOS管Vgs从0V到2.5V变化时的I-V特性曲线为:所测得的Vsg=1V时,PMOS管Vsd从0V到2.5V变化时的I-V特性曲线为:所测得的Vsd=1.2V时,PMOS管Vsg从0V到2.5V变化时的I-V特性曲线为:(2)计算TSMC 0.50um工艺库下mos管对应的工艺参数测试NMOS管相关参数,Hspice中仿真用源文件(.sp文件)为:NOMS I-V CharacteristicM1 OUT IN 0 0 CMOSn L=1U W=8UVIN IN 0 1VOUT OUT 0 1.2.OPTIONS LIST NODE POST*.DC VOUT 0 2.5 0.1.DC VIN 0 2.5 0.1*.DC VOUT 0 2.5 0.1 VIN 0.8 1.0 0.2.PRINT DC I(M1).LIB "C:\synopsys\project\tsmc_050um_model.lib" CMOS_MODELS .END所测得的NMOS 管电流曲线为:所测的数据如下表:Ids Vds1V 1.5V Vgs 1V65.4uA 66.5 1.2V14.014.4根据公式21()()(1)2DSn n n GS tn n DS I K V V V Lλ=-+,计算,,n n tn k V λ,分别为: -611910,0.028, 1.37n n tn k V λ≈⨯≈≈测试PMOS 管相关参数,Hspice 中仿真用源文件(.sp 文件)为: POMS I-V CharacteristicM1 OUT IN Vdd Vdd CMOSP L=1U W=8UVIN Vdd IN 1 VOUT Vdd OUT 1.2.OPTIONS LIST NODE POST *.DC VOUT 0 2.5 0.1 .DC VIN 0 2.5 0.1*.DC VOUT 0 2.5 0.1 VIN 0.8 1.0 0.2.PRINT DC I(M2).LIB "C:\synopsys\project\tsmc_050um_model.lib" CMOS_MODELS .END所测得的PMOS 管电流曲线为:所测的数据如下表:Isd Vsd1V 1.5VVsg 1V 1.17 1.181.2V 4.87 5.15计算TSMC 0.50um 工艺中 pmos 参数p p tp ,分别为:-654.8910,0.017,0.927p p tp K V λ≈⨯≈≈综上所述,可得:TSMC 0.50um 工艺参数=n λ0.028=p λ0.017=tn V 0.37V=tp V 0.927V2/119V A K n μ=2/89.54V A K p μ=四、思考题2) 不同工艺,,p n λλ不同。
Synopsys 实验系列12_高速模拟电路设计与验证_Hspice
Capacitor Diode Dependent Sources Current JFET or MESFET Mutual Inductor Inductor MOSFET BJT Resistor Transmission Line Voltage Source Sub circuit Call
2011.1.5
ASIC设计中心
Hspice 运行 输入输出
Star-Hspice Input Input netlist Model /libraries Star-Hspice Output Run status Output listing Analysis data, transient Analysis data, dc Analysis data, ac Measure output .sp .inc, .lib .st0 .lis .tr# (e.g. .tr0) .sw# (e.g. .sw0) .ac# (e.g. .ac0) .m*# (e.g. .mt0)
ASIC设计中心
Lab1
2011.1.5
ASIC设计中心
输出 输出命令包括: .PRINT、.PLOT、.GRAPH、.PROBE 和.MEASURE。
.PLOT antype ov1 <ov2...> <plo1,phi1...plo32,phi32> .PROBE antype ov1<ov2...ov32> .PRINT antype ov1 <ov2...ov32>
2011.1.5
ASIC设计中心
Lab1
Lab1 一个简单例子 * lab1 an example .options list node post .op .ac dec 10 1k 1meg .print ac v(1) v(2) i(r2) i(c1) v1 1 0 10 ac 1 r1 1 2 1k r2 2 0 1k c1 2 0 .001u .end
集成电路实验(模拟)(1)
模拟集成电路实验实验一Hspice的熟悉和使用一、实验目的通过本实验,能够对模拟电路仿真工具Hspice的使用方法有比较熟悉的了解。
二、实验预备知识1、Hspice介绍Hspice(现在属于Synopsys 公司)是模拟IC设计中最常使用的工业级电路仿真工具,用以对模拟电路的稳态、瞬态及频域的仿真和分析。
Hspice 输入网表文件为.sp 文件,模型和库文件为.inc 和.lib,Hspice 输出文件有运行状态文件.st0、输出列表文件.lis、瞬态分析文件.tr#、直流分析文件.sw#、交流分析文件.ac#、测量输出文件.m*#等。
其中,所有的分析数据文件均可作为AvanWaves 的输入文件用来显示波形。
2、输入网表文件输入网表(Netlist)文件主要由以下几部分组成:3、电路元器件及模型描述Hspice要求电路元器件名称必须以规定的字母开头,其后可以是任意数字或字母。
除了名称之外,还应指定该元器件所接节点编号和元件值。
①、电阻,电容,电感等无源元件描述方式如下:R1 1 2 10k (表示节点1 与2 间有电阻R1,阻值为10k 欧)C1 1 2 1pf (表示节点1 与2 间有电容C1,电容值为1pf)L1 1 2 1mh (表示节点1 与2 间有电感L1,电感值为1mh)②、二极管描述语句如下:DX N+ N- MNAME <AREA> <OFF> <IC=VD>D为元件名称,N+和N-分别为二极管的正负节点,MNAME是模型名,后面为可选项:AREA是面积因子,OFF是直流分析所加的初始条件,IC=VD 是瞬态分析的初始条件。
③、双极型晶体管QX NC NB NE <NS> MNAME <AREA> <OFF> <IC=VBE,VCE>Q 为元件名称,NC NB NE <NS>分别是集电极、基极、发射极和衬底的节点。
HSPICE学习总结
生产实习报告一.目录1.实习内容记述分析1)HSPICE的基本操作过程2)网表文件结构的总结3)简单的网表文件练习4)总结书写网表文件练习过程中的注意事项5)练习电路参数的调整2.生产实习的收获与体会HSPICE学习总结操作的基本过程1.打开HSPICE操作平台:开始——程序——HSPICE——HSPUI2.打开EDIT NL项,输入网表文件并保存或者可直接在记事本中输入网表文件并保存attention:一般情况下从EDIT NL项直接保存的文件后辍为.exe,应回到保存处强行把文件后辍改为.sp,否则无法运行仿真过程3.通过OPEN项调出刚才保存的网表文件4.通过SIMULATE项可对网表文件进行仿真5.查看EDIT LL项可知仿真过程中是否出现错误,还可查管子的工作状态attention:模拟过程中经常要查看管子的工作状态以便对电路参数进行调整6.仿真所得波形可通过打开A V ANW A VES项查看网表文件结构的总结1.网表文件的基本大体结构.exe1一个简单的网表文件A SIMPLE CS AMPLIFIER *第一行为标题.OPTION POST NODE.TRAN 200P 20N *瞬态分析.PRINT TRAN V(1) V(2)M1 2 1 0 0 N L=1.6U W=50U *连接结构的描述R 3 2 5KVDD 3 0 3VVIN 1 0 0 PULSE 0.2 4.8 2N 1N 1N 5N 20N *输入的描述.MODEL N NMOS LEVEL=1 *模型的定义.ENDexe2.差分结构的网表文件DIFFERENTIAL TEST.OPTION POST NODE.TRAN 200P 20N.PRINT TRAN V(5,6) V(2)M1 2 1 0 0 N L=1.6U W=50UM2 5 3 2 2 N L=1.6U W=50UM3 6 4 2 2 N L=1.6U W=50UR1 7 5 5KR2 7 6 5KVDD 7 0 3VVB 1 0 0.9VIN1 3 0 SIN(1.7 0.1 50 0 0 0)VIN2 4 0 SIN(1.7 0.1 50 0 0 180).MODEL N NMOS LEVEL=1.END在练习过程中写网表文件应注意的问题:1.网表文件第一行为标题。
电路原理图的绘制实验报告
(2)执行菜单命令Tools | New Component(新器件),将元件名改为7426后,进入一个新Biblioteka 的编辑画面。图2-3新建元件
执行右键菜单命令【Options选项】→【Document Options文档选项】,系统弹出Library Editor Workspace对话框,设置元件库编辑器界面的样式、大小、方向、颜色等参数。这里我们可以只设置捕捉栅格尺寸,其他设置可采用默认设置。
图2-23
在接下来的对话框中封装尺寸,底部散热焊盘尺寸,倾斜间距,焊盘片设置,焊盘间距,元件公差,焊盘位置和类型设置,丝印层中封装轮廓,封装命名界面等。
图1-2新建项目文件
在弹出的“New Project”对话框中,“Name”下输入新建项目的名称,“Browse Location”按钮选择项目文件的存放路径,复选框“Create Project Folder”如果选中会自动在计算机的硬盘中新建一个文件夹,存放项目相关的所有文件。
在上图所示的“Name”编辑栏里设置名为自己班级学号姓名的文件夹和项目文件
《工程应用软件》
实验报告
学院:
专业:
班级:
姓名:
学号:
实验报告
实验一实验名称:电路原理图的绘制
姓名:实验组别:
实验日期:年月日 成绩:
一、实验目的
1. 掌握Altium Designer软件的安装、运行及卸载,掌握Altium Designer的基本操作;
2. 掌握项目文件、工程文件的创建和编辑器环境的设置,熟悉常用元件库和各主要菜单及命令的使用;
ADG609绘制完成, 定义元件属性后,放置到原理图中。
图2-13
3.完成DIP14元件封装图。(要求:用手动和向导两种方式完成。)
Pspice实验报告
1.000E+00 1.500E+002.000E+00 1.600E+003.000E+00 1.700E+004.000E+00 1.800E+005.000E+00 1.900E+006.000E+00 2.000E+007.000E+00 2.100E+008.000E+00 2.200E+009.000E+00 2.300E+001.000E+012.400E+001.100E+012.500E+001.200E+012.600E+003、Pspice应用总结1、Pspice中直流电路工作点的分析是默认的,直接点击V、I按钮即可得到电路的各支路电流电压值。
2、DC Sweep为直流扫描分析,若要得到波形图,只需在测定点上设置探针。
其中,“Name”中选择横轴扫描量,“Start Value”为起始值,“EndValue”为终止值,“Increment”为扫描步长。
3、通过电流打印机可以输出扫描的电流数据。
4、思考与讨论(1)根据两图及所得仿真结果验证基尔霍夫定律答:对于电路1,设4V和6V所对应的结点分别为1和2。
对于中间的一个回路有:4*1+1*2-3*2=0,即基尔霍夫电压定律成立。
对于结点1有:2+2-4=0,即基尔霍夫电流定律成立。
(2)怎样理解电流IRL随US1变化的函数关系?这个式子中的各项分别表示什么物理意义?答:负载电流Us1呈线性关系,Ir3=1.4+(1.2/12) Us1=1.4+0.1Us1,式中,1.4A表示将Us1置零时其它激励在负载支路产生的响应,0.1Us1表示仅保留Us1,将其它电源置零(电压源短路,电流源开路)时,负载支路的电流响应。
(3)总结如何用Pspice进行直流工作点分析和直流扫描分析。
答:Pspice软件的使用:若想得到其它量的函数关系,得到其波形图,只需在所测定点上设置相应的探针,然后在参数设定上进行一点更改。
如想要确定负载电阻RL的电流随负载电阻变化的波形,只需将“直流扫描分析参数表”中“Name”中的V1该为RL;若想要确定节点电压Un1随U1的变化,只需在n1这个节点上设置一个电压探针。
HSPICE仿真课程设计
摘要镜像电流源是一种可以提供稳定电流的电源器件。
主要用于有源负载,也可以利用其对电路中的工作点进展偏置,以使电路中的各个晶体管有稳定、正确的工作点。
在理想状态下其工作电流大小不会受到外接负载的阻抗大小的影响。
也不会受到周围环境温度、压力、湿度等条件影响。
但实际电流源会受到一些因素影响而造成非理想。
为了研究电流源特性,我们利用Hspice对威尔森电流镜进展仿真讨论其特性,并仿真改良型电路得出结论。
Tanner集成电路设计软件是由Tanner Research公司开发的基于Windows平台的用于集成电路设计的工具软件。
根据异或门电路的设计及指标要求,设计电路构造及整体原理图,然后利用Tspice对其进展功能仿真,最后完成幅员设计。
本局部将完成设计标准文档、原理图输入、功能仿真任务、单元幅员、整体幅员、物理验证等。
关键词:Hspice;Tanner;目录引言 (1)第一局部 HSPICE仿真 (2)1 威尔森电流镜 (2)设计原理 (2)1.2 电路图 (2)1.3 程序代码 (3)1.4 仿真结果 (4)2 修整型威尔森电流镜 (6)2.1 设计原理 (6)2.2 电路图 (7)2.3 程序代码 (7)2.4 仿真结果 (9)第二局部幅员设计 (13)3 由门电路构成的两输入异或门幅员设计 (13)3.1 原理图输入 (13)3.2 电路仿真 (14)3.3 幅员设计 (16)3.4 LVS (20)总结 (22)参考文献 (23)引言我们处在信息时代,我们生活时时刻刻都离不开集成芯片,微电子器件与集成电路被广泛地应用于各行各业,而今产业开展的根底性支撑依靠的是设计和制造,从某种方面也决定了一个国家的现代化开展程度。
SPICE〔Simulation Program with Integrated Circuit Emphasis〕是由美国加州大学推出的电路分析仿真软件,是20世纪80年代全球应用最广的电路设计软件,并于1998年被定为美国国家标准。
HSPICE课程设计报告
HSPICE课程设计报告HSPICE课程设计报告设计题目一:4位与非门的电路设计设计题目二:2位计数器的电路设计专业电子科学与技术班级学号学生姓名指导老师设计时间2011—2012下学期目录目录 (1)设计一四位与非门的电路设计 (3)一、课程设计的目的 (3)二、课程设计的内容和要求 (3)三、设计的原理 (3)1、两输入与非门 (3)2、四输入与非门符号图及原理 (4)3、电路图 (5)四、课程设计的过程 (5)1、网表文件 (5)2、打开网表文件仿真 (7)3、仿真分析(延时分析) (8)五、课程设计总结 (9)设计二2位计数器的电路设计 (10)一、课程设计目的 (10)二、课程设计原理 (10)1、非门电路 (10)2、异或门 (11)3、与非门 (12)4、D触发器 (14)5、2位计数器 (15)三、课程设计的总结 (18)设计一四位与非门的电路设计一、课程设计的目的1、学习使用电路设计与仿真软件HSPICE,练习用网表文件来描述模拟电路,并熟悉应用HSPICE内部元件库;2、熟悉用MOS器件来设计四位逻辑输入与非门电路,了解用MOS 器件设计与TTL与非门的优缺点。
二、课程设计的内容和要求1、内容:用仿真软件HSPICE,用网表文件来描述模拟电路;2、要求:用MOS器件来设计四位逻辑输入与非门电路。
三、设计的原理1、两输入与非门与非门是与门和非门的结合,先进行与运算,再进行非运算。
与运算输入要求有两个,如果输入都用0和1表示的话,那么与运算的结果就是这两个数的乘积。
如1和1(两端都有信号),则输出为1;1和0,则输出为0;0和0,则输出为0。
与非门的结果就是对两个输入信号先进行与运算,再对此与运算结果进行非运算的结果。
简单说,与非与非,就是先与后非。
其真值表和符号如下:A B Y0 0 10 1 1 1 0 1 112、四输入与非门符号图及原理A OUTPUTNAND412345DC B当输入端A 、B 、C 、D 中只要有一个为低电平时,就会使与它相连的NMOS 管截止,与它相连的PMOS 管导通,输出为高电平;仅当A 、B 、C 、D 全为高电平时,才会使四个串联的NMOS 管都导通,使四个并联的PMOS 管都截止,输出为低电平。
电路原理图设计及Hspice实验报告
电路原理图设计及H s p i c e实验报告Company Document number:WUUT-WUUY-WBBGB-BWYTT-1982GT电子科技大学成都学院(微电子技术系)实验报告书课程名称:电路原理图设计及Hspice学号:姓名:教师:年06月15日实验一基本电路图的Hspice仿真实验时间:同组人员:一、实验目的1.学习用Cadence软件画电路图。
2.用Cadence软件导出所需的电路仿真网表。
3.对反相器电路进行仿真,研究该反相器电路的特点。
二、实验仪器设备Hspice软件、Cadence软件、服务器、电脑三、实验原理和内容激励源:直流源、交流小信号源。
瞬态源:正弦、脉冲、指数、分线段性和单频调频源等几种形式。
分析类型:分析类型语句由定义电路分析类型的描述语句和一些控制语句组成,如直流分析(.OP)、交流小信号分析(.AC)、瞬态分析(.TRAN)等分析语句,以及初始状态设置(.IC)、选择项设置(.OPTIONS)等控制语句。
这类语句以一个“.”开头,故也称为点语句。
其位置可以在标题语句之间的任何地方,习惯上写在电路描述语句之后。
基本原理:(1)当UI=UIL=0V时,UGS1=0,因此V1管截止,而此时|UGS2|>|UTP|,所以V2导通,且导通内阻很低,所以UO=UOH≈UDD,即输出电平.(2)当UI=UIH=UDD时,UGS1=UDD>UTN,V1导通,而UGS2=0<|UTP|,因此V2截止。
此时UO=UOL≈0,即输出为低电平。
可见,CMOS反相器实现了逻辑非的.四、实验步骤1.打开Cadence软件,画出CMOS反相器电路图,导出反相器的HSPICE网表文件。
2.修改网表,仿真出图。
3.修改网表,做电路的瞬态仿真,观察输出变化,观察波形,并做说明。
4.对5个首尾连接的反相器组成的振荡器进行波形仿真。
5.分析仿真结果,得出结论。
五、实验数据输入输出仿真:网表:* lab2c - simple inverter.options list node post.model pch pmos.model nch nmos*.tran 200p 20n.dc vin 0 5 1m sweep data=w.print v(1) v(2).param wp=10u wn=10u.data wwp wn10u 10u20u 10u40u 10u40u 5u.enddatavcc vcc 0 5vin in 0 *pulse .2 2n 1n 1n 5n 20n cload out 0 .75pm1 vcc in out vcc pch l=1u w=wpm2 out in 0 0 nch l=1u w=wn.altervcc vcc 0 3.end图像:瞬态仿真:网表:* lab2c - simple inverter.options list node post.model pch pmos.model nch nmos.tran 200p 20n.print tran v(1) v(2)vcc vcc 0 5vin in 0 pulse .2 2n 1n 1n 5n 20n cload out 0 .75pm1 vcc in out vcc pch l=1u w=20um2 out in 0 0 nch l=1u w=20u.endcload out 0 .75pm1 vcc in out vcc pch l=1u w=20um2 out in 0 0 nch l=1u w=20u.end图像:网表:* lab2d - 5 stage driver.options list node post*.model pch pmos*.model nch nmos.tran 1n 10n.print tran v(1) v(2) i(vcc).global vccvcc vcc 0 5*vin 1 0 pulse .2 3 .5 2n 2n 2n 5n 20n.ic v(1)=5xinv1 1 2 invxinv2 2 3 invxinv3 3 4 invxinv4 4 5 invxinv5 5 1 inv*cd1 6 0 1.75f.subckt inv in outm1 vcc in out vcc PENH l=1u w=20um2 out in 0 0 NENH l=1u w=20u.ends inv.end图像:对5个首尾连接的反相器组成的振荡器进行波形仿真。
OP设计报告 基本两级运放设计与HSPICE仿真
设计报告运算放大器1.功能描述OP1在HB5042的功能是利用其闭环负反馈,使得VINP=VINN,从而使MOS管的漏电压等于REFC,实现电压钳位。
2.输入输出PIN描述输入VDD2:电源电压GND2:地INP:运放的同相输入端INN:运放的反相输入端IBIAS_OP1:输入偏置电流输出VOUT:运放的输出端口3.电路原理图4.电路工作原理M1镜像M0作为差分对的尾电流源为差分级提供偏置,M3M4是差分对的输入,M5 M6是差分对的有源负载,将双端输出转化为单端输出。
第二级M7为共源级,M2为其有源负载。
电容C与电阻R的作用是进行米勒补偿。
由于INN的输入直流电压为REFC=0.4V,故采用pmos差分对管。
5.仿真数据及波形所加信号为:vvdd2 vdd2 0 5vvgnd2 gnd2 0 0vIbias_OP1 IBIAS_OP1 0 2uACext inn 0 100TRext inn vout 1E-20 ac=100Tvinp inp 0 0.4v ac=1(通过分析可知,输入共模电压为0.4V ) 仿交流:.ac dec 20 10 1G.print ac vdB(vout).measure ac phase_margin find par('vp(vout)+180') when vdB(vout)=0.measure ac ac_gain_dB max vdB(vout) from=1 to=10megR :W=50u L=2u C :W=20u L=20u M=5仿真结果为:相位裕度72.1481 增益85.0024db波形图如下:-3db 带宽是37.8HZ 。
其中直流增益3,4 5.63,4772v m o o m o o A g r r g r r ,M3M4的宽长比大些可以增大v A ,调大C 可以使增益曲线的主极点往原点移动,从而可以增大相位余度,但是会减小-3db 带宽。
电路分析基于实验讲义—Hspice(实验六与实验七)
电路分析实验讲义——基于LTspice和Hspice信息技术国家级教学示范中心2011.6目录实验一LTspice和简单电阻电路仿真1、实验目的1、了解LTspice的使用2、学会使用LTspice测试电阻电路的电压和电流二、实验原理1、电阻分压电路如图1-1所示。
图1-1 电阻分压电路2、电阻分流电路如图1-2所示2、实验内容1、LTspice的使用简介1.1 LTspice的打开及其操作窗口在桌面上找到LTspice的快捷图标,双击打开。
或者在“开始→所有程序→LTspice IV”下,单击打开。
得到如图所示的LTspice窗口。
1.2 LTspice画图功能介绍现在我们来画如图1-1所示电路。
首先,新建一个原理图窗口,“File→NewSchematic”或者直接点击工具栏中的图标。
再来介绍工具栏中最常用的几个按钮:为“Wire”,为元器件之间添加连(导)线;为“Ground”,给电路接地,在LTspice和Hspice中所有电路都要可靠接地,这点不同于文献[1]中的相关内容;为“Label Net”,给电路节点作标识为“Resistor”,电阻,为电路添加电阻;为“Capacitor”,电容,为电路添加电容;为“Inductor”,电感,为电路添加电感;为“Diode”,二极管,为电路添加二极管;为“Component”,元件,点击可打开LTspice的元件库,比如我们以后会经常用到的三极管和MOS管,以及上面介绍的电阻、电容和电感都可以在元件库中找到。
为“Move”,移动,先用鼠标点击该按钮,再用鼠标选择想要移动的电路,即可实现电路的任意移动;为“Drag”,拖动,拖动时原来连线会一直保持连接状态,注意和“Move”按钮的区别;几个常用的快捷操作方式:“Ctrl+R”:旋转元器件;“Ctrl+E”:镜像,180度旋转;按“Delete”键或使用工具栏的按钮,删除你不想要的的元件;按“Esc”键或者单击鼠标右键,可结束当前操作。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
电子科技大学成都学院(微电子技术系)实验报告书课程名称:电路原理图设计及Hspice学号:姓名:教师:年06月15日实验一基本电路图的Hspice仿真实验时间:同组人员:一、实验目的1.学习用Cadence软件画电路图。
2.用Cadence软件导出所需的电路仿真网表。
3.对反相器电路进行仿真,研究该反相器电路的特点。
二、实验仪器设备Hspice软件、Cadence软件、服务器、电脑三、实验原理和内容激励源:直流源、交流小信号源。
瞬态源:正弦、脉冲、指数、分线段性和单频调频源等几种形式。
分析类型:分析类型语句由定义电路分析类型的描述语句和一些控制语句组成,如直流分析(.OP)、交流小信号分析(.AC)、瞬态分析(.TRAN)等分析语句,以及初始状态设置(.IC)、选择项设置(.OPTIONS)等控制语句。
这类语句以一个“.”开头,故也称为点语句。
其位置可以在标题语句之间的任何地方,习惯上写在电路描述语句之后。
基本原理:(1)当UI=UIL=0V时,UGS1=0,因此V1管截止,而此时|UGS2|>|UTP|,所以V2导通,且导通内阻很低,所以UO=UOH≈UDD,即输出电平.(2)当UI=UIH=UDD时,UGS1=UDD>UTN,V1导通,而UGS2=0<|UTP|,因此V2截止。
此时UO=UOL≈0,即输出为低电平。
可见,CMOS反相器实现了逻辑非的功能.四、实验步骤1.打开Cadence软件,画出CMOS反相器电路图,导出反相器的HSPICE网表文件。
2.修改网表,仿真出图。
3.修改网表,做电路的瞬态仿真,观察输出变化,观察波形,并做说明。
4.对5个首尾连接的反相器组成的振荡器进行波形仿真。
5.分析仿真结果,得出结论。
五、实验数据输入输出仿真:网表:* lab2c - simple inverter.options list node post.model pch pmos.model nch nmos*.tran 200p 20n.dc vin 0 5 1m sweep data=w.print v(1) v(2).param wp=10u wn=10u.data wwp wn10u 10u20u 10u40u 10u40u 5u.enddatavcc vcc 0 5vin in 0 2.5 *pulse .2 4.8 2n 1n 1n 5n 20ncload out 0 .75pm1 vcc in out vcc pch l=1u w=wpm2 out in 0 0 nch l=1u w=wn.altervcc vcc 0 3.end图像:瞬态仿真:网表:* lab2c - simple inverter.options list node post.model pch pmos.model nch nmos.tran 200p 20n.print tran v(1) v(2)vcc vcc 0 5vin in 0 2.5 pulse .2 4.8 2n 1n 1n 5n 20ncload out 0 .75pm1 vcc in out vcc pch l=1u w=20um2 out in 0 0 nch l=1u w=20u.endcload out 0 .75pm1 vcc in out vcc pch l=1u w=20um2 out in 0 0 nch l=1u w=20u.end图像:网表:* lab2d - 5 stage driver.options list node post*.model pch pmos*.model nch nmos.tran 1n 10n.print tran v(1) v(2) i(vcc).global vccvcc vcc 0 5*vin 1 0 2.5 pulse .2 3 .5 2n 2n 2n 5n 20n.ic v(1)=5xinv1 1 2 invxinv2 2 3 invxinv3 3 4 invxinv4 4 5 invxinv5 5 1 inv*cd1 6 0 1.75f.subckt inv in outm1 vcc in out vcc PENH l=1u w=20um2 out in 0 0 NENH l=1u w=20u.ends inv.end图像:对5个首尾连接的反相器组成的振荡器进行波形仿真。
* lab2d - 5 stage driver.options list node post.tran 1n 30n.print tran v(1) v(2) i(vcc).global vccvcc vcc 0 5.ic v(1)=5.lib 'E:\chy\cz6h_v20.lib' ttxinv1 1 2 inv1xinv2 2 3 inv1xinv3 3 4 inv1xinv4 4 5 inv1xinv5 5 1 inv2.subckt inv1 in outm1 vcc in out vcc PEPH l=1u w=20um2 out in 0 0 NENH l=1u w=20u.ends inv1.subckt inv2 in outm1 vcc in out vcc PEPH l=1u w=20um2 out in 0 0 NENH l=1u w=20u.ends inv2.end仿真图像:六、结果及分析仿真结果已经在实验步骤中得出。
通过上机实际操作电脑对反相器进行仿真,验证了电路的基本功能;巩固了模拟电路中的一些基本单元和模块,从中还学到了集成电路工艺和版图方面的一些知识。
不但学会了电路仿真方面的很多基本技能,而且对微电子工艺也进一步得到了掌握;通过对反相器电路的仿真,掌握了HSPICE软件的使用。
提高了自己的动手能力。
将书本上学的理论知识实际操作了一遍,为以后做模拟电路的工作打下看良好的基础;最终完成反相器电路的各种仿真,感觉收获颇大。
实验二偏置及电流镜实验时间:同组人员:一、实验目的1.巩固用Cadence软件画电路图2.用Cadence软件导出所需的电路仿真网表。
3.对偏置及电流镜电路进行仿真,并研究该电路的特点。
二、实验仪器设备Hspice软件、Cadence软件、服务器、电脑三、实验原理和内容四、实验步骤1.打开Cadence软件,画出偏置及电流镜的电路图,导出偏置及电流镜的HSPICE网表文件。
2.修改网表,仿真出图。
3.修改网表,做电路的瞬态仿真,观察输出变化,观察波形,并做说明。
4.仿真当为1X电流镜时的电路。
5.仿真当沟道长度都增加10倍时的电路。
6.仿真当为4X电流镜时,只需要沟道宽度增加4倍的电路。
7.分析仿真结果,得出结论。
五、实验数据仿真网表:************************************************************************* auCdl Netlist:** Library Name: zyz* Top Cell Name: lab4* View Name: schematic* Netlisted on: Apr 28 15:50:08 2011********************************************************************* *.BIPOLAR*.RESI = 2000*.RESVAL*.CAPVAL*.DIOPERI*.DIOAREA*.EQUATION*.SCALE METER*.MEGA.PARAM*.GLOBAL vcc!+ gnd!*.PIN vcc!*+ gnd!********************************************************************* * Library Name: zyz* Cell Name: lab4* View Name: schematic********************************************************************* .SUBCKT lab4*.PININFORR0 vcc! net5 500 $[RP]MM0 net5 net5 gnd! gnd! NM W=1u L=10u m=1.ENDS*lab4.OPTIONS POST LIST node.GLOBAL vcc!+ gnd!vcc vcc! 0 3.dc vcc 0 5 0.1MM0 vref vref gnd! nenh W=5u L=1u m=1RR0 vcc! vref 500k.print v(Vref) i(mm0).end*lab4.OPTIONS POST LIST node.GLOBAL vcc!+ gnd!vcc vcc! 0 3.dc vcc 0 5 0.1MM0 vref vref gnd! nenh W=5u L=1u m=1RR0 vcc! vref r_value.dc r_value 500k 2000k 100.param r_value=1020k wn=5u.print v(Vref) i(mm0).end仿真图像:更改宽长比时:1.当为1X电流镜时*mirror2.lib'F:\hspice0631\cz6h_v20.lib'tt.options list node postMM0 vref vref gnd! gnd! nenh w=5 L=1u m=1RR0 vcc! vref r_value $[RP]MM1 vout vref gnd! gnd! nenh w=5 L=1u m=1vout vout 0 3.dc vout 0 3 0.1vcc vcc! 0 3.param r_value=1020k.print v(vref) i(mm0) i(mm1).end仿真图像:当沟道长度都增加10倍时2.当为4X电流镜时,只需要沟道宽度增加4倍。
*mirror2.lib'F:\hspice0631\cz6h_v20.lib'tt.options list node postMM0 vref vref gnd! gnd! nenh w=5 L=10u m=1RR0 vcc! vref r_value $[RP]MM1 vout vref gnd! gnd! nenh w=20 L=10u m=1vout vout 0 3.dc vout 0 3 0.1vcc vcc! 0 3.param r_value=1020k.print v(vref) i(mm0) i(mm1).end仿真图像:六、结果及分析如上所知,所有仿真结果已经在实验步骤中得出。