Skip to content

Commit

Permalink
some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
hneemann committed May 2, 2017
1 parent aaa1409 commit ac84ef2
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 39 deletions.
5 changes: 3 additions & 2 deletions distribution/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
Release Notes

planed as v0.12
- added the possibility to open a circuit from the command line
v0.11.1, released on 02. May 2017
- Added the possibility to open a circuit from the command line.
- The backspace key works like the delete key.
- Avoid extreme long lines in the error message dialog.
- Some minor bug fixes.

v0.11, released on 20. Apr 2017
- Added floating gate FETs.
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/de/neemann/digital/draw/elements/Circuit.java
Original file line number Diff line number Diff line change
Expand Up @@ -606,11 +606,11 @@ public void actualToDefault() {
}

/**
* All fuses (diodes) are set to unprogramed so that they are working again.
* All fuses (diodes) are restored to "not programed" so that they are working again.
*
* @param library library to determine which elements are programmable
*/
public void unprogramAllFuses(ElementLibrary library) {
public void restoreAllFuses(ElementLibrary library) {
for (VisualElement ve : visualElements)
if (library.isProgrammable(ve.getElementName())) {
ve.getElementAttributes().set(Keys.BLOWN, false);
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/de/neemann/digital/gui/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -519,13 +519,13 @@ public void actionPerformed(ActionEvent e) {
}
}.setToolTip(Lang.get("menu_actualToDefault_tt"));

ToolTipAction unprogramAllFuses = new ToolTipAction(Lang.get("menu_unprogramAllFuses")) {
ToolTipAction restoreAllFuses = new ToolTipAction(Lang.get("menu_restoreAllFuses")) {
@Override
public void actionPerformed(ActionEvent e) {
circuitComponent.getCircuit().unprogramAllFuses(library);
circuitComponent.getCircuit().restoreAllFuses(library);
stoppedState.enter();
}
}.setToolTip(Lang.get("menu_unprogramAllFuses_tt"));
}.setToolTip(Lang.get("menu_restoreAllFuses_tt"));

ToolTipAction insertAsNew = new ToolTipAction(Lang.get("menu_insertAsNew")) {
@Override
Expand Down Expand Up @@ -560,7 +560,7 @@ public void actionPerformed(ActionEvent actionEvent) {

edit.add(editAttributes.createJMenuItem());
edit.add(actualToDefault.createJMenuItem());
edit.add(unprogramAllFuses.createJMenuItem());
edit.add(restoreAllFuses.createJMenuItem());
edit.addSeparator();
edit.add(orderInputs.createJMenuItem());
edit.add(orderOutputs.createJMenuItem());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void actionPerformed(ActionEvent e) {
getAttributeDialog().fireOk();
TestDataDialog dialog = new TestDataDialog(getAttributeDialog().getDialogParent(), data, key, elementAttributes);
Main main = getAttributeDialog().getMain();
if (main!=null)
if (main != null)
main.getWindowPosManager().register("testdata", dialog);
dialog.setVisible(true);
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/lang/lang_de.xml
Original file line number Diff line number Diff line change
Expand Up @@ -723,8 +723,8 @@ Sind evtl. die Namen der Variablen nicht eindeutig?</string>
<string name="menu_runTests_tt">Führt alle Tests in der Schaltung aus!</string>
<string name="menu_actualToDefault">Eingänge übernehmen</string>
<string name="menu_actualToDefault_tt">Aktuelle Eingangswerte als neue Vorgabewerte übernehmen.</string>
<string name="menu_unprogramAllFuses">Alle Dioden/FGFETS zurücksetzen</string>
<string name="menu_unprogramAllFuses_tt">Setzt alle Dioden (Fuses) bzw. FGFETs in den unprogrammierten Zustand zurück. Die Konfiguration geht dabei verloren!</string>
<string name="menu_restoreAllFuses">Alle Dioden/FGFETS zurücksetzen</string>
<string name="menu_restoreAllFuses_tt">Setzt alle Dioden (Fuses) bzw. FGFETs in den unprogrammierten Zustand zurück. Die Konfiguration geht dabei verloren!</string>
<string name="menu_programDiode">Diode programmieren</string>
<string name="menu_help_elements">Hilfe</string>
<string name="menu_help_elements_tt">Zeigt eine Dokumentation der vorhandenen Elemente.</string>
Expand Down
50 changes: 25 additions & 25 deletions src/main/resources/lang/lang_en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<string name="btn_reload_tt">Reload last hex file</string>
<string name="btn_save">Save</string>
<string name="btn_create">Create</string>
<string name="btn_create_tt">Create a circuit in a seperate window</string>
<string name="btn_create_tt">Create a circuit in a separate window</string>
<string name="btn_editDetached">Edit detached</string>
<string name="btn_editDetached_tt">Opens the dialog as a non modal dialog</string>
<string name="btn_openInBrowser">Browser</string>
Expand All @@ -47,7 +47,7 @@
<string name="elem_Help_outputs">Outputs</string>
<string name="elem_Help_attributes">Attributes</string>
<string name="elem_Add">Add</string>
<string name="elem_Add_tt">A component for simple add caluclations. Adds the two integer values from input a and input b (a+b). The result will be incremented by one if the carry input is set. </string>
<string name="elem_Add_tt">A component for simple add calculations. Adds the two integer values from input a and input b (a+b). The result will be incremented by one if the carry input is set. </string>
<string name="elem_Add_pin_a">First input to add.</string>
<string name="elem_Add_pin_b">Second input to add.</string>
<string name="elem_Add_pin_c_i">Carry input, if set the result is incremented by one.</string>
Expand Down Expand Up @@ -182,7 +182,7 @@
<string name="elem_Multiplexer_pin_sel">This pin selects the input which value is to output.</string>
<string name="elem_Multiplexer_tt">A component which uses the value of the sel pin to decide which input value is set to the output.</string>
<string name="elem_NAnd">NAnd</string>
<string name="elem_NAnd_tt">A combiation of AND and NOT. Returns 0 only if all inputs are set to 1. If on of the inputs is set to 0 the output is set to 1.</string>
<string name="elem_NAnd_tt">A combination of AND and NOT. Returns 0 only if all inputs are set to 1. If on of the inputs is set to 0 the output is set to 1.</string>
<string name="elem_NOr">NOr</string>
<string name="elem_NOr_tt">A combination of OR and NOT. Returns a 0 if one of the inputs is set to 1. If all inputs are set to 0 the output is also set to 1.</string>
<string name="elem_Not">Not</string>
Expand Down Expand Up @@ -232,7 +232,7 @@

<string name="elem_GraphicCard">Graphic RAM</string>
<string name="elem_GraphicCard_tt">Used to show a bitmap graphic. This element works similar to a RAM. In addition it
shows its content on a grahic screen. Every pixel is represented by a memory address. There are to screens supported
shows its content on a graphic screen. Every pixel is represented by a memory address. There are to screens supported
to implement screen switching (See input B).</string>
<string name="elem_GraphicCard_pin_A">The address to read and write.</string>
<string name="elem_GraphicCard_pin_str">If this input is high when the clock becomes high, the the data is stored.</string>
Expand Down Expand Up @@ -286,20 +286,20 @@
<string name="elem_Splitter_pin_out">The output bits {0}.</string>
<string name="elem_Splitter_pin_out_one">The output bit {0}.</string>
<string name="elem_Sub">Sub</string>
<string name="elem_Sub_tt">A component for simple substractions. Substracts binary numbers on input a and input b (a-b). If the carry input is set to 1 the result is decremented by 1.</string>
<string name="elem_Sub_tt">A component for simple subtractions. Subtracts binary numbers on input a and input b (a-b). If the carry input is set to 1 the result is decremented by 1.</string>
<string name="elem_Sub_pin_c_i">Carry input, if set the result is decremented by one.</string>
<string name="elem_Sub_pin_a">Input a for substraction.</string>
<string name="elem_Sub_pin_b">Input b for substraction.</string>
<string name="elem_Sub_pin_s">Output returns the result of the substraction.</string>
<string name="elem_Sub_pin_c_o">Output returns 1 if an overflow occured.</string>
<string name="elem_Sub_pin_a">Input a for subtraction.</string>
<string name="elem_Sub_pin_b">Input b for subtraction.</string>
<string name="elem_Sub_pin_s">Output returns the result of the subtraction.</string>
<string name="elem_Sub_pin_c_o">Output returns 1 if an overflow occurred.</string>
<string name="elem_T_FF">T-FlipFlop</string>
<string name="elem_T_FF_short">T</string>
<string name="elem_T_FF_tt">A component with one input. Toggles the state of the output on a rising edge at the input.</string>
<string name="elem_T_FF_pin_C">Clock. A rising edgt toggles the output.</string>
<string name="elem_T_FF_pin_C">Clock. A rising edge toggles the output.</string>
<string name="elem_T_FF_pin_Q">Returns the stored value.</string>
<string name="elem_T_FF_pin_¬Q">Returns the negated stored value.</string>
<string name="elem_Terminal">Terminal</string>
<string name="elem_Terminal_pin_C">Clock. A risig edge writes the value at the input to the terminal window.</string>
<string name="elem_Terminal_pin_C">Clock. A rising edge writes the value at the input to the terminal window.</string>
<string name="elem_Terminal_pin_D">The data to write to the terminal</string>
<string name="elem_Terminal_tt">You can write ASCII characters to this terminal.
The terminal opens its own window to visualize the output.</string>
Expand Down Expand Up @@ -452,14 +452,14 @@ allowed are {1} variables but {2} are found.</string>
<string name="err_notANumber_N0_inLine_N1">Value {0} in line {1} is not a number!</string>
<string name="err_testDataExpected_N0_found_N1_numbersInLine_N2">Expected {0} but found {1} values in line {2}!</string>
<string name="err_unexpectedToken_N0_inLine_N1">Unexpected token ({0}) in line {1}.</string>
<string name="err_variable_N0_notFound">Varianble {0} not found!</string>
<string name="err_variable_N0_notFound">Variable {0} not found!</string>
<string name="err_noTestInputSignalsDefined">No input signals defined in test vector!</string>
<string name="err_noTestOutputSignalsDefined">No output signals defined in test vector!</string>
<string name="err_noTestData">Not test data found.</string>
<string name="err_remoteExecution">Error during execution of a remote command</string>
<string name="err_pullUpAndDownNotAllowed">It's not allowed to connect a pull up and a pull down resistor to a single wire.</string>
<string name="err_openingDocumentation">Could not open the browser.</string>
<string name="err_splitterDoesNotSupportHighZInputs">The splitter does not support high z inputs! Use a pull up or pull down resisitor.</string>
<string name="err_splitterDoesNotSupportHighZInputs">The splitter does not support high z inputs! Use a pull up or pull down resistor.</string>
<string name="err_splitterAllowsOnlyOneHighZInput">A splitter which allows high z inputs can only have one input!</string>
<string name="err_couldNotCreateFolder_N0">Could not create folder &quot;{0}&quot;!</string>
<string name="err_switchHasNoNet">It is not allowed to connect only inputs to a switch.</string>
Expand Down Expand Up @@ -488,15 +488,15 @@ The names of the variables may not be unique.</string>
<string name="key_Color">Color</string>
<string name="key_Color_tt">The Color of the element.</string>
<string name="key_Cycles">Timeout cycles</string>
<string name="key_Cycles_tt">If this ammount of cycles is reached without a break signal, an error is created.</string>
<string name="key_Cycles_tt">If this amount of cycles is reached without a break signal, an error is created.</string>
<string name="key_Data">Data</string>
<string name="key_Data_tt">The values stored in this element.</string>
<string name="key_Default">Default</string>
<string name="key_Default_tt">This value is set if the circuit is started</string>
<string name="key_Description">Description</string>
<string name="key_Description_tt">A short description of this element and its usage.</string>
<string name="key_Frequency">Frequency/Hz</string>
<string name="key_Frequency_tt">The realtime frequency used for the real time clock</string>
<string name="key_Frequency_tt">The real time frequency used for the real time clock</string>
<string name="key_IEEEShapes">Use IEEE 91-1984 shapes</string>
<string name="key_IEEEShapes_tt">Use IEEE 91-1984 shapes instead of rectangular shapes</string>
<string name="key_InputSplitting">Input Splitting</string>
Expand All @@ -508,9 +508,9 @@ The names of the variables may not be unique.</string>
<string name="key_Size">Size</string>
<string name="key_Size_tt">The size of the component in the circuit.</string>
<string name="key_Language">Language</string>
<string name="key_NetName">Netname</string>
<string name="key_NetName">Net name</string>
<string name="key_NetName_tt">All nets with identical name are connected together.</string>
<string name="key_OutputSplitting">Otput Splitting</string>
<string name="key_OutputSplitting">Output splitting</string>
<string name="key_OutputSplitting_tt">Example &quot;4,2,2&quot; or &quot;[Bits]*[Count] like &quot;1*16&quot; for 16 single bits.</string>
<string name="key_SelectorBits">Number of Selector Bits</string>
<string name="key_SelectorBits_tt">Number of bits used for the selector input.</string>
Expand Down Expand Up @@ -543,16 +543,16 @@ The names of the variables may not be unique.</string>
<string name="key_runRealTime">Start real time clock</string>
<string name="key_runRealTime_tt">If enabled the runtime clock is started when the circuit is started</string>
<string name="key_showDataGraph">Show measurement graph</string>
<string name="key_showDataGraphMicro">Show measurement graph in single gatem step mode</string>
<string name="key_showDataGraphMicro">Show measurement graph in single gate step mode</string>
<string name="key_showDataTable">Show measurement values</string>
<string name="key_showList">Show list file if available</string>
<string name="key_termHeight">Lines</string>
<string name="key_termHeight_tt">The number of lines to show.</string>
<string name="key_termWidth">Characters per line</string>
<string name="key_termWidth_tt">The number of characters shown in a single line.</string>
<string name="key_valueIsProbe">Use as measurment value</string>
<string name="key_valueIsProbe">Use as measurement value</string>
<string name="key_valueIsProbe_tt">Is set the value is a measurement value and appears in the graph and data table.</string>
<string name="key_Testdata">Testdata</string>
<string name="key_Testdata">Test data</string>
<string name="key_Testdata_tt">The description of the test case. Details of the syntax can be found in the help dialog of the test data editor.</string>
<string name="key_graphicWidth">Width in pixels</string>
<string name="key_graphicWidth_tt">The screen width in pixels.</string>
Expand All @@ -573,7 +573,7 @@ The names of the variables may not be unique.</string>
With this option you can stabilize the display by keeping the LEDs on until the common cathode goes down again.
This simulates a frequency above the critical flicker fusion frequency.</string>
<string name="key_atf1502Fitter">ATF1502 Fitter</string>
<string name="key_atf1502Fitter_tt">Path to the fitter for the ATF1502. Enter the full path to the file fit1502.exe provided bei ATMEL.</string>
<string name="key_atf1502Fitter_tt">Path to the fitter for the ATF1502. Enter the full path to the file fit1502.exe provided by ATMEL.</string>
<string name="key_pin">Pin number</string>
<string name="key_pin_tt">An empty field means this signal is not assigned to a pin.</string>
<string name="key_rowDataBits">Rows</string>
Expand Down Expand Up @@ -605,7 +605,7 @@ The names of the variables may not be unique.</string>
<string name="menu_editRunAttributes">Simulation Settings</string>
<string name="menu_editRunAttributes_tt">Settings used to start the simulation</string>
<string name="menu_editSettings">Settings</string>
<string name="menu_editSettings_tt">Edits Digitals Preferences</string>
<string name="menu_editSettings_tt">Edits Digitals preferences</string>
<string name="menu_element">Stop Simulation</string>
<string name="menu_element_tt">Stops the simulation and allows to edits the circuit.</string>
<string name="menu_elements">Components</string>
Expand Down Expand Up @@ -715,8 +715,8 @@ The names of the variables may not be unique.</string>
<string name="menu_runTests_tt">Runs all test cases in the circuit</string>
<string name="menu_actualToDefault">Set Inputs</string>
<string name="menu_actualToDefault_tt">Use actual input values as new default values.</string>
<string name="menu_unprogramAllFuses">Reset all diodes and FGFETs</string>
<string name="menu_unprogramAllFuses_tt">Resets all diodes (fuses) and FGFETs to the unprogramed state. The actual fuse configuration is lost!</string>
<string name="menu_restoreAllFuses">Reset all diodes and FGFETs</string>
<string name="menu_restoreAllFuses_tt">Resets all diodes (fuses) and FGFETs to the "not programed" state. The actual fuse configuration is lost!</string>
<string name="menu_programDiode">Program diode</string>
<string name="menu_help_elements">Components</string>
<string name="menu_help_elements_tt">Shows a list of all available components.</string>
Expand All @@ -740,7 +740,7 @@ The icons are taken from the Tango Desktop Project.</string>
<string name="msg_errorCalculatingStep">Error calculating a step</string>
<string name="msg_errorCreatingModel">Error creating the circuit</string>
<string name="msg_errorDuringCalculation">Error during simplification</string>
<string name="msg_errorEditingValue">Error editing a atribute value</string>
<string name="msg_errorEditingValue">Error editing a attribute value</string>
<string name="msg_errorImportingModel_N0">Error importing the circuit {0}!</string>
<string name="msg_errorUpdatingLibrary">Error updating the component library!!</string>
<string name="msg_errorReadingFile">Error reading a file</string>
Expand Down
6 changes: 3 additions & 3 deletions src/test/resources/docu/static_en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
devices are supported.
</par>
<par>
In addition to purely combinatorial circuits, it is also possible to analyze or generate sequential cicuits.
In addition to purely combinatorial circuits, it is also possible to analyze or generate sequential circuits.
Instead of a simple truth table a so-called state transition table is created.
Each flip-flop thereby appears on the input side and the output side of the state transition table.
In this table, on the right-hand side, you can find the next state, which will
Expand Down Expand Up @@ -150,7 +150,7 @@
website.
From the <a href="http://www.atmel.com/tools/wincupl.aspx"><e>WinCupl</e></a> installation, only the file
<e>fit1502.exe</e> is needed and this file can be stored in any folder.
On Linux systesm, <e>fit1502.exe</e> can also be executed by Digital if <e>wine</e> is installed.
On Linux systems, <e>fit1502.exe</e> can also be executed by Digital if <e>wine</e> is installed.
</par>
</chapter>
<chapter name="Frequently asked Questions">
Expand Down Expand Up @@ -223,7 +223,7 @@
</faq>
<faq>
<question>I have created a JEDEC file. How to program it to a <e>GAL16v8</e> or <e>GAL22v10</e>?</question>
<answer>To programm such a chip a special programmer hardware is necessary.</answer>
<answer>To program such a chip a special programmer hardware is necessary.</answer>
</faq>
</chapter>
</root>

0 comments on commit ac84ef2

Please sign in to comment.