tag 标签: Calculator

相关博文
  • 热度 20
    2012-5-25 13:06
    2162 次阅读|
    0 个评论
    According to the Phrase Finder , the concept of tickling pink is of enjoyment great enough to make the recipient glow with pleasure, which pretty much describes my current state of being. I just received the most amazing email... but before we go there, in order to set the scene, I need to explain that a couple of years ago my chum Alvin and I wrote a book called How Computers Do Math . (May I be so bold as to note that this little rascal, which has 4.9 stars out of 5.0 on Amazon, would make an ideal gift for anyone who wants to know more about how computers perform their magic.) Accompanying the book is a virtual 8bit microprocessor. The interface to this virtual machine is a calculator front panel as illustrated below (the reason some of the buttons are blank is that you can configure them to have whatever annotations you wish).   When you first power-up this little scamp, whose official name is the DIY Calculator (DIY stands for "Do-It-Yourself") nothing happens... The idea is that the book guides the reader via a suite of step-by-step labs to create a program in assembly language that makes our virtual microprocessor and calculator front panel function as a simple four-function calculator. But the possibilities are limitless – someone has already created a BASIC interpreter (in our assembly language, of course), and I have plans to create a simple C Compiler (again in our assembly language)... one day. OK, one more thing before we proceed to the reason for this column is that – as part of the DIY Calculator project – we also created something called The Official DIY Calculator Data Book (you can access both the DIY Calculator software and this Data Book for FREE from the Downloads page of our www.DIYCalculator.com website). This data book was modeled on the old microprocessor data books of the late 1970s. It basically tells you everything you need to know to build your own 8bit microprocessor from the ground up. All of which leads us to the following message, which I just received from John R. Wind: Hello Mr. Maxfield. If you don't mind, I thought I would tell you about a project of mine that implements your "DIY Calculator" in a digital logic simulation program called Logisim (Website – http://ozark.hendrix.edu/~burch/logisim/ ). I am an Electrical Engineer from Grand Rapids, Michigan, and I found Logisim on the internet one night. It is a nice little cross-platform program that I can carry about on a thumb drive and work on projects when I am bored. Now all I needed was a project. There are many digital devices built into Logisim, but one thing lacking was a CPU. After searching around for a premade CPU, I found that a lot of college-level computer classes ask students build a CPU in Logisim as classwork. So I thought that sounded like fun. In looking for information about CPU design, I came across your "DIY Calculator" website. The descriptions in the "Official DIY Calculator Data Book" were just what I needed to get started. Much of the design is a straight forward implementation of your descriptions. Coming up with the Instruction Decoding and Sequencing control logic myself was enough of a challenge to make it interesting. Logisim is very hierarchical and lets you define sub-circuits that you can assemble to make larger constructs. This feature was used to greatly help in organizing the design. Now that I have your virtual CPU built out of digital logic components, I can use it as a sub-circuit to build larger projects with. As an example, I have built a keypad and display that faithfully emulate your "DIY Calculator" and are connected to your virtual CPU along with some memory in the RAM and ROM configuration described in your book. This setup is serving as my "test bed" because it is 100% compatible with all of the programs from your book "How Computers Do Math". Currently, I am trying them out to see if any glaring bugs in my design pop up. Depending upon the computer running Logisim, the virtual CPU is no speed demon. The fun for me is in getting the assembly code to work, not in using the result.   The DIY Calculator running in Logisim   Logisim is very graphically oriented, and it is very educational to look into the design of the CPU and watch how the program is being executed as you step through it. When satisfied, I intend to make my design available to others on the Internet. I thought you might appreciate this because, in a sense, you have provided all of the documentation. If asked for information on the little CPU, I will just refer others to your book. :-) This was all just a warm up. Back when I was a high school student, I built a microcomputer out of a kit that used the RCA 1802 Cosmac Elf microprocessor. I think next that I may relive my youth by designing an 1802 CPU in Logisim and re-building (in a virtual fashion) the microcomputer I once had. There is something satisfying about going myself one better by having to build the CPU itself first. Cheers, John R. Wind PS Just FYI, the display in the image above is saying "Hello World" because it is running that program from your book :-) Wow! Color me impressed. I immediately emailed John back and we bounced a few messages back and forth. John very kindly provided a copy of the Logisim version of the DIY Calculator for anyone to play with if they want ( Click Here to download it in the form of a ZIP file – of course you will also need to download Logisim itself from the website noted in John's message). But wait, there's more, because John kindly said I could share his email ( jrwind@comcast.net ) so that anyone who does play with his Logisim version of the DIY Calculator can contact him with comments and suggestions. The end result is that, as I noted in the title of this column, I am "Tickled Pink". I cannot even begin to describe the countless hours I spent creating the diagrams and text in How Computers Do Math and in The Official DIY Calculator Data Book , so knowing that someone has used this work to the level that John has it very, very gratifying. I think I will have a warm glow for a long time to come...  
相关资源
  • 所需E币: 1
    时间: 2022-7-23 16:04
    大小: 23.54KB
    上传者: Argent
    Logix-PanelViewPlusCalculatorTool
  • 所需E币: 3
    时间: 2019-12-28 23:57
    大小: 68KB
    上传者: 二不过三
    TheDS1086LisaSpread-SpectrumEconOscillator™thatgeneratesaspread-spectrum,square-waveoutputbetween130kHzand66.6MHz.Thisapplicationnotedescribesaneasy-to-usefrequencycalculatorforsettingthedesiredoutputfrequencyandditheringmodulation.……
  • 所需E币: 5
    时间: 2019-12-25 16:09
    大小: 529.76KB
    上传者: 16245458_qq.com
    AlteraPowerCalculatorUserGuide……
  • 所需E币: 4
    时间: 2020-1-6 11:20
    大小: 25.97KB
    上传者: 238112554_qq
    PICCalculator.rar……
  • 所需E币: 3
    时间: 2019-12-24 22:11
    大小: 82.11KB
    上传者: 二不过三
    Abstract:TheAccuracyCalculator(ACCU)aidsinthedesignandanalysisofdata-converterapplicationcircuits.ItcalculatestheDCaccuracyofanidealdataconverter.TheprogramisforusewithaHP®50gcalculatororfreePCemulator.Maxim>DesignSupport>AppNotes>A/DandD/AConversion/SamplingCircuits>APP5060Maxim>DesignSupport>AppNotes>DigitalPotentiometers>APP5060Keywords:ADC,DAC,Accuracy,Calculator,analogdigital,designanalysis,dataconverter,applicationcircuits,DCaccuracy,HP50g,Resolution,bits,PPM,INL,LSB,AnalogCircuitDesign,HP50gPrograms,ACCUAug09,2011APPLICATIONNOTE5060ADC/DACAccuracyCalculatorTutorialBy:BillLaumeister,StrategicApplicationsEngineerAbstract:TheAccuracyCalculator(ACCU)aidsinthedesignandanalysisofdata-converterapplicationcircuits.ItcalculatestheDCaccuracyofanidealdataconverter.Theprogram……
  • 所需E币: 4
    时间: 2019-12-24 22:11
    大小: 66.57KB
    上传者: quw431979_163.com
    Abstract:TheBandgapReferenceCalculator(BGRC)aidsinthedesignandanalysisofaBrokawbandgapreferencecircuit.Itcalculatesallcircuitparametersandtheoutputvoltageasafunctionofjunctiontemperature.ThecalculatorcanbeusedwithanHP®50gcalculatororafreePCemulator.Maxim>DesignSupport>AppNotes>A/DandD/AConversion/SamplingCircuits>APP5062Maxim>DesignSupport>AppNotes>AmplifierandComparatorCircuits>APP5062Maxim>DesignSupport>AppNotes>DigitalPotentiometers>APP5062Keywords:accuracycalculatortutorial,analogdigitaldesignanalysis,dataconverterapplicationcircuits,HP50g,voltagereference,Bandgap,BandGap,Brokawcell,magictemperature,curvaturecorrection,lineartransferfunction,temperaturecoefficient,TempcoAug09,2011APPLICATIONNOTE5062BandgapReferenceCalculatorTutorialBy:BillLaumeister,StrategicApplicationsEngineerAbstract:TheBandgapReferenceCalculator……
  • 所需E币: 3
    时间: 2019-12-24 22:11
    大小: 72KB
    上传者: 238112554_qq
    Abstract:TheEffectiveNumberofBitsCalculator(ENOB)aidsinthedesignandanalysisofdataconverterapplicationcircuits.ItcalculatesENOB,SINAD,resolution,signalbandwidth,oversamplerates,DNL,clockjitter,analognoise,andTHD.ThecalculatorcanbeusedwithaHP®50gcalculatororafreePCemulator.Maxim>DesignSupport>TechnicalDocuments>Tutorials>A/DandD/AConversion/SamplingCircuits>APP5061Maxim>DesignSupport>TechnicalDocuments>Tutorials>DigitalPotentiometers>APP5061Maxim>DesignSupport>TechnicalDocuments>Tutorials>MeasurementCircuits>APP5061Keywords:EffectiveNumberBits,Calculator,ENOB,DataConverter,SINAD,Resolution,Signal,OversampleRates,DNL,Clock,Jitter,AnalogNoise,THD,ADC,DAC,AnalogDesign,DigitalAccuracy,HP50g,INL,TotalHarmonicDistortionAug09,2011TUTORIAL5061EffectiveNumberofBitsCalculatorTutorialBy:BillLaumeister,StrategicApplicationsEngineerAbstract:TheEffectiv……
  • 所需E币: 5
    时间: 2019-12-24 22:05
    大小: 56.82KB
    上传者: 238112554_qq
    Abstract:ThisapplicationnoteclarifiestheoperationandapplicationsoftheMaximJitterCalculatorprovidedaspartoftheADCdesigntools.ThisdocumentassumesthatthereaderhasabasicunderstandingofterminologyandconceptsrelatedtoADCs(Formoreinformation,seeapplicationnote641,"ADCandDACGlossary.")Maxim>AppNotes>A/DandD/AConversion/SamplingCircuitsHigh-SpeedSignalProcessingKeywords:ADCApertureJitterCalculatorSNRSep08,2009APPLICATIONNOTE4466ApertureJitterCalculatorforADCsAbstract:ThisapplicationnoteclarifiestheoperationandapplicationsoftheMaximJitterCalculatorprovidedaspartoftheADCdesigntools.ThisdocumentassumesthatthereaderhasabasicunderstandingofterminologyandconceptsrelatedtoADCs(Formoreinformation,seeapplicationnote641,"ADCandDACGlossary.")IntroductionTheMaximJitterCalculatorisintendedforusewithADCsthathaveaclock-based,input-samplingscheme(sample/track-and-hold(T/H)front-end)foracquisitionofdynamicinputsignals……
  • 所需E币: 5
    时间: 2019-12-24 19:22
    大小: 95.18KB
    上传者: givh79_163.com
    摘要:本计算器提供了一个快速简便的方法,选择正弦输入的模拟到数字(ADC)转换器测试的测试音。基于对相干抽样理论,计算器允许用户选择输入和采样频率以及数量的整数周期内的采样窗口和决议的FFT(数据点的数量)。Maxim>AppNotes>BASESTATIONS/WIRELESSINFRASTRUCTUREHIGH-SPEEDSIGNALPROCESSINGKeywords:coherentsamplingcalculator,coherent,coherentsampling,high-speedanalog-to-digitalconverter,Apr16,2004ADC,high-speedADC,FFT,fastfouriertransform,samplingfrequency,inputfrequency,samplingwindowAPPLICATIONNOTE3190CoherentSamplingCalculator(CSC)Abstract:Thiscalculatorprovidesaquickandeasywaytoselectsinusoidalinputtesttonesforthetestofanalog-to-digital(ADC)converters.Basedonthetheoryofcoherentsampling,thecalculatorallowsausertochoseinputandsamplingfrequenciesaswellasnumberofintegercycleswithinthesamplingwindowandtheresolution(numberofdatapoint)oftheFFT.Whenevaluatingthedynamicperformanc……
  • 所需E币: 3
    时间: 2019-12-24 18:18
    大小: 82.11KB
    上传者: 2iot
    摘要:精度计算器(累加器)在数据转换器应用电路的设计和分析。它计算出一个理想的数据转换器的直流精度。该方案是使用与HP®50G计算器或免费的PC模拟器。Maxim>DesignSupport>AppNotes>A/DandD/AConversion/SamplingCircuits>APP5060Maxim>DesignSupport>AppNotes>DigitalPotentiometers>APP5060Keywords:ADC,DAC,Accuracy,Calculator,analogdigital,designanalysis,dataconverter,applicationcircuits,DCaccuracy,HP50g,Resolution,bits,PPM,INL,LSB,AnalogCircuitDesign,HP50gPrograms,ACCUAug09,2011APPLICATIONNOTE5060ADC/DACAccuracyCalculatorTutorialBy:BillLaumeister,StrategicApplicationsEngineerAbstract:TheAccuracyCalculator(ACCU)aidsinthedesignandanalysisofdata-converterapplicationcircuits.ItcalculatestheDCaccuracyofanidealdataconverter.Theprogram……
  • 所需E币: 4
    时间: 2019-12-24 18:18
    大小: 72KB
    上传者: 二不过三
    摘要:数位计算器(ENOB),艾滋病在数据转换器应用电路的设计和分析的有效。它计算的ENOB,SINAD,分辨率,信号带宽,过采样率,DNL的,时钟抖动,模拟噪声和THD。该计算器可用于惠普®50克计算器或免费的PC模拟器。Maxim>DesignSupport>TechnicalDocuments>Tutorials>A/DandD/AConversion/SamplingCircuits>APP5061Maxim>DesignSupport>TechnicalDocuments>Tutorials>DigitalPotentiometers>APP5061Maxim>DesignSupport>TechnicalDocuments>Tutorials>MeasurementCircuits>APP5061Keywords:EffectiveNumberBits,Calculator,ENOB,DataConverter,SINAD,Resolution,Signal,OversampleRates,DNL,Clock,Jitter,AnalogNoise,THD,ADC,DAC,AnalogDesign,DigitalAccuracy,HP50g,INL,TotalHarmonicDistortionAug09,2011TUTORIAL5061EffectiveNumberofBitsCalculatorTutorialBy:BillLaumeister,StrategicApplicationsEngineerAbstract:TheEffectiv……
  • 所需E币: 5
    时间: 2019-12-24 18:13
    大小: 76.97KB
    上传者: quw431979_163.com
    摘要:DS3994是一个4通道冷阴极荧光灯控制器(CCFL)背光液晶显示器,在电视和电脑显示器应用(液晶显示器)。该设备采用突发调光控制灯的亮度。一个独特的功能允许为每个独立错开的四个通道的突发调光序列的开始。一套四个非易失性寄存器,允许用户编程为每个通道错开。计算器是可以帮助用户确定这些寄存器编程应有的价值。本应用笔记介绍了惊人的突发调光的优势,以及如何访问和使用计算器。Maxim>AppNotes>DISPLAYDRIVERSPOWER-SUPPLYCIRCUITSKeywords:DS3994,CCFL,burstdimming,calculator,cold-cathodefluorescentlamp,LCDSep11,2006APPLICATIONNOTE3898CalculatorSimplifiesProgrammingtheBurstDimmingStaggerontheDS3994Cold-CathodeFluorescentLamp(CCFL)ControllerAbstract:TheDS3994isa4-channelcontrollerforcold-cathodefluorescentlamps(CCFL)thatbacklightliquidcrystaldisplays(LCDs)inTVandPCmonitorapplications.Thedeviceusesburstdimmingtocontrolthebrightnessofthelamps.Auniquefeatureallowsthestartoftheburstdimmingsequenceforeachofthefourchannelstobestaggeredindependently.Asetoffournonvolatileregistersallowstheusertoprogramthestaggerforeachchannel.Ac……
  • 所需E币: 5
    时间: 2019-12-24 17:09
    大小: 66.57KB
    上传者: rdg1993
    摘要:带隙基准计算器(BGRC)艾滋病的布罗考的带隙基准电路的设计和分析。所有电路参数和输出电压的计算结温的函数。惠普®50G计算器或免费的PC模拟器可以使用计算器。Maxim>DesignSupport>AppNotes>A/DandD/AConversion/SamplingCircuits>APP5062Maxim>DesignSupport>AppNotes>AmplifierandComparatorCircuits>APP5062Maxim>DesignSupport>AppNotes>DigitalPotentiometers>APP5062Keywords:accuracycalculatortutorial,analogdigitaldesignanalysis,dataconverterapplicationcircuits,HP50g,voltagereference,Bandgap,BandGap,Brokawcell,magictemperature,curvaturecorrection,lineartransferfunction,temperaturecoefficient,TempcoAug09,2011APPLICATIONNOTE5062BandgapReferenceCalculatorTutorialBy:BillLaumeister,StrategicApplicationsEngineerAbstract:TheBandgapReferenceCalculator……
  • 所需E币: 5
    时间: 2020-1-10 10:37
    大小: 3.47MB
    上传者: quw431979_163.com
    PCBM_LP_Calculator_V2009,PCBM_LP_Calculator_V2009……
  • 所需E币: 3
    时间: 2020-1-14 11:26
    大小: 36.5KB
    上传者: 978461154_qq
    RF計算表,RF_Calculator……
  • 所需E币: 3
    时间: 2020-1-14 14:03
    大小: 174.5KB
    上传者: 二不过三
    最全的RF计算工具,MyRfCalculator……
  • 所需E币: 5
    时间: 2019-12-29 00:02
    大小: 86KB
    上传者: 238112554_qq
    TheDS3994isa4-channelcontrollerforcold-cathodefluorescentlamps(CCFL)thatbacklightliquidcrystaldisplays(LCDs)inTVandPCmonitorapplications.Thedeviceusesburstdimmingtocontrolthebrightnessofthelamps.Auniquefeatureallowsthestartoftheburstdimmingsequenceforeachofthefourchannelstobestaggeredindependently.Asetoffournonvolatileregistersallowstheusertoprogramthestaggerforeachchannel.Acalculatorisavailabletohelpusersdeterminethepropervalueforprogrammingtheseregisters.Thisapplicationnotedescribestheadvantagesofstaggeringtheburstdimming,andhowtoaccessandusethecalculator.……