<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mort11.com/mentor.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jolup</id>
	<title>FRC11 - Mentor Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://mort11.com/mentor.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jolup"/>
	<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php/Special:Contributions/Jolup"/>
	<updated>2026-11-25T18:47:59Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Git_Notes&amp;diff=712</id>
		<title>Git Notes</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Git_Notes&amp;diff=712"/>
		<updated>2019-02-14T00:52:20Z</updated>

		<summary type="html">&lt;p&gt;Jolup: Completed working with cmdline git actions.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
Notes that describe Git repo creation, usage, maintenance,&lt;br /&gt;
&lt;br /&gt;
The idea is that you can see the commands commonly used to work within command line git and what they do with an actual repository and code....&lt;br /&gt;
&lt;br /&gt;
this is decomposed into two sections.  Using gilab / github (our robot code is on gitlab)&lt;br /&gt;
&lt;br /&gt;
=== Generic Git usage - example based ===&lt;br /&gt;
We use gitlab for our robotics projects: &lt;br /&gt;
[https://about.gitlab.com/2017/07/19/git-wars-switching-to-gitlab/ gitlab v github]&lt;br /&gt;
&lt;br /&gt;
Our git repo (for obviously the 2019 robot): git@gitlab.mort11.org:programming/2019robot.git&lt;br /&gt;
&lt;br /&gt;
==== I want to pull and work a branch ====&lt;br /&gt;
&lt;br /&gt;
* from wherever you want to work: git clone git@gitlab.mort11.org:programming/2019robot.git&lt;br /&gt;
* now let's see what we got:&lt;br /&gt;
**  &amp;lt;pre&amp;gt; git branch -v -a &amp;lt;/pre&amp;gt; lists all repos and check in notes&lt;br /&gt;
*** jerry.olup@dev0105u16:~/work/FRC/git_repos/2019robot$ git branch -v -a&lt;br /&gt;
    drivetrain                        72d20ef Added right side to velocity drive&lt;br /&gt;
    master                            d8175af updated gradle wrapper&lt;br /&gt;
    remotes/origin/EndEffector        d6bbc14 Untracked file&lt;br /&gt;
    remotes/origin/HEAD               -&amp;gt; origin/master&lt;br /&gt;
    remotes/origin/Vision             688ab76 added automaticCapture&lt;br /&gt;
    remotes/origin/autonomous_chooser 6c4ee16 Completed Shuffleboard Auton Chooser&lt;br /&gt;
    remotes/origin/demo               cb68d88 finalized demo and showed it off&lt;br /&gt;
    remotes/origin/drivetrain         72d20ef Added right side to velocity drive&lt;br /&gt;
    remotes/origin/master             d8175af updated gradle wrapper&lt;br /&gt;
    remotes/origin/navx               5d45f56 updated TurnDegreesAutomaticTesting CommandGroup with a targetAngle parameter&lt;br /&gt;
* We want to switch to drivetrain, so we need set a local branch to track the remote branch (see: [https://www.git-tower.com/learn/git/faq/track-remote-upstream-branch tracking])&lt;br /&gt;
* &amp;lt;pre&amp;gt; git branch --track drivetrain orgin/drivetrain &amp;lt;/pre&amp;gt;&lt;br /&gt;
** now you have a local branch, drivetrain, that tracks to the remote/origin/drivetrain&lt;br /&gt;
* Ok let's verify that we're all set:&lt;br /&gt;
** &amp;lt;pre&amp;gt; git branch &amp;lt;/pre&amp;gt; results in:&lt;br /&gt;
     jerry.olup@dev0105u16:~/work/FRC/git_repos/2019robot$ git branch   &lt;br /&gt;
     * drivetrain&lt;br /&gt;
       master&lt;br /&gt;
&lt;br /&gt;
* Now that we've been working for some time, you might want to work another branch of code  &lt;br /&gt;
   jerry.olup@dev0105u16:~/work/FRC/git_repos/2019robot$ git branch&lt;br /&gt;
     Vision   &lt;br /&gt;
     auton&lt;br /&gt;
     autonomous&lt;br /&gt;
   * autonomous_chooser&lt;br /&gt;
     drivetrain&lt;br /&gt;
     ee&lt;br /&gt;
     master&lt;br /&gt;
     vision&lt;br /&gt;
 * Switch to the drivetrain branch by checking it out&lt;br /&gt;
&lt;br /&gt;
   jerry.olup@dev0105u16:~/work/FRC/git_repos/2019robot$ git checkout drivetrain&lt;br /&gt;
   Switched to branch 'drivetrain'&lt;br /&gt;
   Your branch is behind 'origin/drivetrain' by 7 commits, and can be fast-forwarded.&lt;br /&gt;
     (use &amp;quot;git pull&amp;quot; to update your local branch)&lt;br /&gt;
   jerry.olup@dev0105u16:~/work/FRC/git_repos/2019robot$ git pull&lt;br /&gt;
   Updating 5261bfc..57f3769&lt;br /&gt;
   Fast-forward&lt;br /&gt;
    2019robot.ipr                                                          |   5 +---&lt;br /&gt;
    2019robot.iws                                                          | 104 +++++++++++++++++++++++++++++++++++-------------------------------&lt;br /&gt;
    src/main/java/org/mort11/Robot.java                                    |   4 +--&lt;br /&gt;
    src/main/java/org/mort11/commands/drivetrain/HoldPosition.java         |  30 +++++++++++++++++++&lt;br /&gt;
    src/main/java/org/mort11/commands/drivetrain/MotionMagicTickDrive.java |   3 +-&lt;br /&gt;
    src/main/java/org/mort11/hardware/IO.java                              |   5 ++++&lt;br /&gt;
    src/main/java/org/mort11/subsystems/drivetrain/Drivetrain.java         |  17 +++++++----&lt;br /&gt;
    src/main/java/org/mort11/util/Constants.java                           |  14 ++++++++-&lt;br /&gt;
    src/main/java/org/mort11/{commands/drivetrain =&amp;gt; util}/Converter.java  |  12 ++++----&lt;br /&gt;
    9 files changed, 125 insertions(+), 69 deletions(-)&lt;br /&gt;
    create mode 100644 src/main/java/org/mort11/commands/drivetrain/HoldPosition.java&lt;br /&gt;
    rename src/main/java/org/mort11/{commands/drivetrain =&amp;gt; util}/Converter.java (53%)&lt;br /&gt;
&lt;br /&gt;
* This switches branches and pulls code from the remote side.&lt;br /&gt;
&lt;br /&gt;
   jerry.olup@dev0105u16:~/work/FRC/git_repos/2019robot$ git status&lt;br /&gt;
   On branch drivetrain&lt;br /&gt;
   Your branch is up-to-date with 'origin/drivetrain'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And that's how simple it is (once you ''git'' it) to work with our remote repository.&lt;br /&gt;
&lt;br /&gt;
For other git actions... like commit, pull, push see below.&lt;br /&gt;
&lt;br /&gt;
=== Generic Git usage - example based ===&lt;br /&gt;
This is not as critical as the information above but gives you an idea of general git usage.&lt;br /&gt;
This was something I developed for my team at an old workplace to teach them how to use a git repo I established.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Initialization ====&lt;br /&gt;
&lt;br /&gt;
Initialize a bare repo (alternative to cloning or pulling). &lt;br /&gt;
Use git config to check and change your side of the repo.  Can set many parameters. A few are shown in the git config section.&lt;br /&gt;
&lt;br /&gt;
After you make changes you should list the changes to view them for accuracy....&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git init --bare	creates repo in this directory root&lt;br /&gt;
&lt;br /&gt;
git config	- add tags to data&lt;br /&gt;
		--global user.name &amp;quot;your name&amp;quot;&lt;br /&gt;
		--global user.email jolup@lgsinnovations.com&lt;br /&gt;
		--global core.editor emacs&lt;br /&gt;
	&lt;br /&gt;
git config --list   // check settings&lt;br /&gt;
git config user.name  // return user name&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Stage your files ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git add &amp;lt;file path from root of repo&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Check status of what's staged ====&lt;br /&gt;
Once staged, you should have &amp;quot;Changes to be committed&amp;quot; with list of new files you may have &amp;quot;Untracked files&amp;quot; listing; this should be empty.  Everything in repo should be worthy of tracking.  If not, move or destroy the extra files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
		EX &amp;quot;git status&amp;quot; returns:&lt;br /&gt;
		# On branch master&lt;br /&gt;
		#&lt;br /&gt;
		# Initial commit&lt;br /&gt;
		#&lt;br /&gt;
		# Changes to be committed:&lt;br /&gt;
		#   (use &amp;quot;git rm --cached &amp;lt;file&amp;gt;...&amp;quot; to unstage)&lt;br /&gt;
		#&lt;br /&gt;
		#	new file:   components/AHB_bus.vhd&lt;br /&gt;
		#	new file:   components/AHB_bus_wrapper.vhd&lt;br /&gt;
		#	new file:   cpld_slave_wave.do&lt;br /&gt;
		#	new file:   cpld_wave.do&lt;br /&gt;
		#	new file:   make_ver.tcl&lt;br /&gt;
		#	new file:   modelsim.ini&lt;br /&gt;
		#	new file:   run_cpld_simulation.do&lt;br /&gt;
		#	new file:   src/SataMux_FPGA_01.vhd&lt;br /&gt;
		#	new file:   src/SataMux_FPGA_01_DEBUG1.vhd&lt;br /&gt;
		#	new file:   src/cpld_top.vhd&lt;br /&gt;
		#	new file:   src/cpld_types_pkg.vhd&lt;br /&gt;
		#	new file:   src/functions_pkg.vhd&lt;br /&gt;
		#	new file:   src/qspi_slave_ahb.vhd&lt;br /&gt;
		#	new file:   src/qspi_slave_ahb_r2.vhd&lt;br /&gt;
		#	new file:   src/qspi_slave_ahb_r3.vhd&lt;br /&gt;
		#	new file:   src/spi_slave.vhd&lt;br /&gt;
		#	new file:   src/test_01.vhd&lt;br /&gt;
		#	new file:   src/types_pkg.vhd&lt;br /&gt;
		#	new file:   src/version_pkg.vhd&lt;br /&gt;
		#	new file:   src/wftp_cpld_r0.vhd&lt;br /&gt;
		#	new file:   tb/AHB_bus_wrapper_sim.vhd&lt;br /&gt;
		#	new file:   tb/AHB_bus_wrapper_sim_breakout.vhd&lt;br /&gt;
		#	new file:   tb/SataMux_FPGA_01.vhd&lt;br /&gt;
		#	new file:   tb/SataMux_FPGA_01_DEBUG1.vhd&lt;br /&gt;
		#	new file:   tb/clkgen.v&lt;br /&gt;
		#	new file:   tb/cpld_qspi_tb.v&lt;br /&gt;
		#	new file:   tb/cpld_tb.v&lt;br /&gt;
		#	new file:   tb/cpld_tb_non_ahb.v&lt;br /&gt;
		#	new file:   tb/functions_pkg.vhd&lt;br /&gt;
		#	new file:   tb/qspi_master_bfm.v&lt;br /&gt;
		#	new file:   tb/qspi_slave_ahb.vhd&lt;br /&gt;
		#	new file:   tb/simple_slave.vhd&lt;br /&gt;
		#	new file:   tb/spi_slave.vhd&lt;br /&gt;
		#	new file:   tb/test_01.vhd&lt;br /&gt;
		#	new file:   tb/test_operations.v&lt;br /&gt;
		#	new file:   tb/types_pkg.vhd&lt;br /&gt;
		#	new file:   tb/user_logic.vhd&lt;br /&gt;
		#	new file:   tb/version_pkg.vhd&lt;br /&gt;
		#	new file:   tb/wftp_cpld_r0.vhd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Now commit files ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git commit -m 'Initial CPLD project commit'&lt;br /&gt;
	[master (root-commit) bf88314] Initial CPLD project commit&lt;br /&gt;
	 39 files changed, 14089 insertions(+)&lt;br /&gt;
	 create mode 100755 components/AHB_bus.vhd&lt;br /&gt;
	 create mode 100644 components/AHB_bus_wrapper.vhd&lt;br /&gt;
	 create mode 100755 cpld_slave_wave.do&lt;br /&gt;
	 create mode 100755 cpld_wave.do&lt;br /&gt;
	 create mode 100755 make_ver.tcl&lt;br /&gt;
	 create mode 100644 modelsim.ini&lt;br /&gt;
	 create mode 100755 run_cpld_simulation.do&lt;br /&gt;
	 create mode 100755 src/SataMux_FPGA_01.vhd&lt;br /&gt;
	 create mode 100755 src/SataMux_FPGA_01_DEBUG1.vhd&lt;br /&gt;
	 create mode 100644 src/cpld_top.vhd&lt;br /&gt;
	 create mode 100644 src/cpld_types_pkg.vhd&lt;br /&gt;
	 create mode 100755 src/functions_pkg.vhd&lt;br /&gt;
	 create mode 100755 src/qspi_slave_ahb.vhd&lt;br /&gt;
	 create mode 100755 src/qspi_slave_ahb_r2.vhd&lt;br /&gt;
	 create mode 100644 src/qspi_slave_ahb_r3.vhd&lt;br /&gt;
	 create mode 100755 src/spi_slave.vhd&lt;br /&gt;
	 create mode 100755 src/test_01.vhd&lt;br /&gt;
	 create mode 100755 src/types_pkg.vhd&lt;br /&gt;
	 create mode 100755 src/version_pkg.vhd&lt;br /&gt;
	 create mode 100755 src/wftp_cpld_r0.vhd&lt;br /&gt;
	 create mode 100644 tb/AHB_bus_wrapper_sim.vhd&lt;br /&gt;
	 create mode 100644 tb/AHB_bus_wrapper_sim_breakout.vhd&lt;br /&gt;
	 create mode 100755 tb/SataMux_FPGA_01.vhd&lt;br /&gt;
	 create mode 100755 tb/SataMux_FPGA_01_DEBUG1.vhd&lt;br /&gt;
	 create mode 100755 tb/clkgen.v&lt;br /&gt;
	 create mode 100644 tb/cpld_qspi_tb.v&lt;br /&gt;
	 create mode 100755 tb/cpld_tb.v&lt;br /&gt;
	 create mode 100755 tb/cpld_tb_non_ahb.v&lt;br /&gt;
	 create mode 100755 tb/functions_pkg.vhd&lt;br /&gt;
	 create mode 100755 tb/qspi_master_bfm.v&lt;br /&gt;
	 create mode 100755 tb/qspi_slave_ahb.vhd&lt;br /&gt;
	 create mode 100755 tb/simple_slave.vhd&lt;br /&gt;
	 create mode 100755 tb/spi_slave.vhd&lt;br /&gt;
	 create mode 100755 tb/test_01.vhd&lt;br /&gt;
	 create mode 100755 tb/test_operations.v&lt;br /&gt;
	 create mode 100755 tb/types_pkg.vhd&lt;br /&gt;
	 create mode 100755 tb/user_logic.vhd&lt;br /&gt;
	 create mode 100755 tb/version_pkg.vhd&lt;br /&gt;
	 create mode 100755 tb/wftp_cpld_r0.vhd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Having established the repo, clone it to work with it.&lt;br /&gt;
&lt;br /&gt;
From my perspective, on your working laptop:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone cpld_git_repo  working    // checkout the repo to the 'working' directory.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
FEW HOURS LATER, (after a bunch of code changes and test) you have a happy point where you should check in code.&lt;br /&gt;
&lt;br /&gt;
So status the repo, then see below to status it with less verbosity. Add the files, commit and push as shown:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Status the working directory ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ cd working&lt;br /&gt;
	bash-4.2$ git status&lt;br /&gt;
	# On branch master&lt;br /&gt;
	# Changes not staged for commit:&lt;br /&gt;
	#   (use &amp;quot;git add &amp;lt;file&amp;gt;...&amp;quot; to update what will be committed)&lt;br /&gt;
	#   (use &amp;quot;git checkout -- &amp;lt;file&amp;gt;...&amp;quot; to discard changes in working directory)&lt;br /&gt;
	#&lt;br /&gt;
	#	modified:   cpld_wave.do&lt;br /&gt;
	#	modified:   tb/cpld_qspi_tb.v&lt;br /&gt;
	#	modified:   tb/qspi_master_bfm.v&lt;br /&gt;
	#	modified:   tb/test_operations.v&lt;br /&gt;
	#&lt;br /&gt;
	no changes added to commit (use &amp;quot;git add&amp;quot; and/or &amp;quot;git commit -a&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you get used to status, you don't need the verbosity, use -s:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git status -s&lt;br /&gt;
	 M cpld_wave.do&lt;br /&gt;
	 M tb/cpld_qspi_tb.v&lt;br /&gt;
	 M tb/qspi_master_bfm.v&lt;br /&gt;
	 M tb/test_operations.v&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Determine differences between checkout and repo ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git diff&lt;br /&gt;
	&amp;lt;file by file, line by line&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Stage files to be committed ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git add  tb/*.v&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Verify staging (subtle with the -s status).  The indented M is modified file that is not the 'M' files that are not indented (aside from tab) are staged.  Add the waveform viewer.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git status -s&lt;br /&gt;
	 M cpld_wave.do&lt;br /&gt;
	M  tb/cpld_qspi_tb.v&lt;br /&gt;
	M  tb/qspi_master_bfm.v&lt;br /&gt;
	M  tb/test_operations.v&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
How long form status is (note all are staged now):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git add cpld_wave.do &lt;br /&gt;
	bash-4.2$ git status&lt;br /&gt;
	# On branch master&lt;br /&gt;
	# Changes to be committed:&lt;br /&gt;
	#   (use &amp;quot;git reset HEAD &amp;lt;file&amp;gt;...&amp;quot; to unstage)&lt;br /&gt;
	#&lt;br /&gt;
	#	modified:   cpld_wave.do&lt;br /&gt;
	#	modified:   tb/cpld_qspi_tb.v&lt;br /&gt;
	#	modified:   tb/qspi_master_bfm.v&lt;br /&gt;
	#	modified:   tb/test_operations.v&lt;br /&gt;
	#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since files are staged you can commit changes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A text file comes up, where you can write commit notes.  this files is git status just before commit.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git commit&lt;br /&gt;
	[master 0c80bfb] Added mode to qspi_master_bfm. Corrected functionality for cpld_qspi_tb. Current functionality includes correct register writes / reads using synthesis-proven top level CPLD code. Testbench (cpld_qspi_tb) verified register read / write. JJO 12.22&lt;br /&gt;
	 4 files changed, 111 insertions(+), 92 deletions(-)&lt;br /&gt;
	 rewrite cpld_wave.do (78%)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, in working dir, status comes up blank.  commit complete.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash-4.2$ git status&lt;br /&gt;
# On branch master&lt;br /&gt;
# Your branch is ahead of 'origin/master' by 1 commit.&lt;br /&gt;
#   (use &amp;quot;git push&amp;quot; to publish your local commits)&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nothing to commit, working directory clean  '''TBD FORMATTING FOR BELOW SECTION'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash-4.2$ git push&lt;br /&gt;
warning: push.default is unset; its implicit value is changing in&lt;br /&gt;
Git 2.0 from 'matching' to 'simple'. To squelch this message&lt;br /&gt;
and maintain the current behavior after the default changes, use:&lt;br /&gt;
&lt;br /&gt;
  git config --global push.default matching&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To squelch this message and adopt the new behavior now, use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  git config --global push.default simple&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See 'git help config' and search for 'push.default' for further information.&lt;br /&gt;
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode&lt;br /&gt;
'current' instead of 'simple' if you sometimes use older versions of Git)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Counting objects: 38, done.&lt;br /&gt;
Delta compression using up to 40 threads.&lt;br /&gt;
Compressing objects: 100% (26/26), done.&lt;br /&gt;
Writing objects: 100% (26/26), 30.43 KiB | 0 bytes/s, done.&lt;br /&gt;
Total 26 (delta 12), reused 0 (delta 0)&lt;br /&gt;
To /home/jolup/work/wftp/igloo_cpld_design/cpld_git_repo/&lt;br /&gt;
   af3b682..5d0932d  master -&amp;gt; master&lt;br /&gt;
bash-4.2$ git status&lt;br /&gt;
# On branch master&lt;br /&gt;
nothing to commit, working directory clean&lt;br /&gt;
bash-4.2$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
gitk = nice TK interface to view diffs, look at versions based on sha1.  In repo root, simply run gitk.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt; gitk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You want to revert to an older version?  No problem&lt;br /&gt;
&lt;br /&gt;
First, status the repo (working or master)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash-4.2$ git log --oneline&lt;br /&gt;
&lt;br /&gt;
af3b682 01.21.2015  jjo   Added debug ports to the top level fpga.     committing the design constraints, top level and slave file.     The CPLD is reacting&lt;br /&gt;
d8ac067 jjo 01.20.15   Corrected physical constraints on the QPSI interface.                  -- changed to LVCMOS33 from TTL                  -- slowed ske&lt;br /&gt;
6494da3 Added non debug design files - forgot to stage these.&lt;br /&gt;
fb3c3fd Added design files and constraints that capture state of the spi and bus providing them to pins. Added constraints to the repository.  Only core is &lt;br /&gt;
38b7aa2 Current testbench operation (12.30 commit - 10 AM jjo)x&lt;br /&gt;
61a93f5 12.28 jjo    - Bugfix in reg_write process, found testing swrst (problem in dummy_cycles)    - Added PLL and tested SPI at 60 MHz, CPLD at 80 MHz.  &lt;br /&gt;
cc65a7f Added command processor in qspi_slave. Extended test operations and bfm to verify transaction count, incl verification. Tested command processor (WR&lt;br /&gt;
0c80bfb Added mode to qspi_master_bfm. Corrected functionality for cpld_qspi_tb. Current functionality includes correct register writes / reads using synthe&lt;br /&gt;
bf88314 Initial CPLD project commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where you want to create a prior repo copy (can be current working, but why?), clone.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone cpld_git_repo/ cpld_git_last_commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now revert in the cpld_git_last_commit&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git checkout d8ac067&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wrap up ====&lt;br /&gt;
&lt;br /&gt;
Above was working with local backed up but informal repos.  &lt;br /&gt;
remote repo established on ws-git (gitolite3)&lt;br /&gt;
&lt;br /&gt;
# distribute you pubkey to Pat B&lt;br /&gt;
# using git clone gitolite3@ws-git:&amp;lt;REPO&amp;gt;  (or whatever your repo is)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Code&amp;diff=711</id>
		<title>Code</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Code&amp;diff=711"/>
		<updated>2019-02-10T20:31:05Z</updated>

		<summary type="html">&lt;p&gt;Jolup: added mecanum&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://gitlab.mort11.org Team Gitlab Page]  (Also access to personal pages)&lt;br /&gt;
&lt;br /&gt;
[https://gitlab.mort11.org/programming/2018robot Official 2018 Code for MORT11's FRC Power Up Season]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/Joshua-Ciffer/Mount-Olive-Robotics-Team-2018 Josh's Off-Season Code on github]  An excellent resource&lt;br /&gt;
&lt;br /&gt;
[https://github.com/bmirisola/Mort_u_project Benny's github MORT U Project]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Aspects of robotics programming ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Joysticks ===&lt;br /&gt;
&lt;br /&gt;
[https://wpilib.screenstepslive.com/s/currentCS/m/java/l/599723-joysticks joystick configuration and usage]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== PID ===&lt;br /&gt;
&lt;br /&gt;
[https://frc-pdr.readthedocs.io/en/latest/control/pid_control.html PID overview]&lt;br /&gt;
 * Specifically, see the &amp;quot;Tuning Methods&amp;quot; section.&lt;br /&gt;
&lt;br /&gt;
[https://phoenix-documentation.readthedocs.io/en/latest/ch14_MCSensor.html Talon SRX bring up]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== MECANUM ===&lt;br /&gt;
Mecanum is a wheel that allows translation in any direction, any trajectory.&lt;br /&gt;
&lt;br /&gt;
Elegant but somewhat complicated.&lt;br /&gt;
&lt;br /&gt;
[https://seamonsters-2605.github.io/docs/mecanum/ mecanum overview]&lt;br /&gt;
&lt;br /&gt;
Example code for Mecanum drive. Note raw joystick input to account for 'any trajectory' motion.&lt;br /&gt;
&lt;br /&gt;
[https://mort11.com/downloads/mentor.wiki/mecanum_drive.java Java mecanum example]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Learn ==&lt;br /&gt;
&lt;br /&gt;
Looking to learn more about how to code?  Try the [[Programming Languages]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Code&amp;diff=710</id>
		<title>Code</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Code&amp;diff=710"/>
		<updated>2019-02-10T20:15:33Z</updated>

		<summary type="html">&lt;p&gt;Jolup: added joystick, patched PID&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://gitlab.mort11.org Team Gitlab Page]  (Also access to personal pages)&lt;br /&gt;
&lt;br /&gt;
[https://gitlab.mort11.org/programming/2018robot Official 2018 Code for MORT11's FRC Power Up Season]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/Joshua-Ciffer/Mount-Olive-Robotics-Team-2018 Josh's Off-Season Code on github]  An excellent resource&lt;br /&gt;
&lt;br /&gt;
[https://github.com/bmirisola/Mort_u_project Benny's github MORT U Project]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Aspects of robotics programming ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Joysticks ===&lt;br /&gt;
&lt;br /&gt;
[https://wpilib.screenstepslive.com/s/currentCS/m/java/l/599723-joysticks joystick configuration and usage]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== PID ===&lt;br /&gt;
&lt;br /&gt;
[https://frc-pdr.readthedocs.io/en/latest/control/pid_control.html PID overview]&lt;br /&gt;
 * Specifically, see the &amp;quot;Tuning Methods&amp;quot; section.&lt;br /&gt;
&lt;br /&gt;
[https://phoenix-documentation.readthedocs.io/en/latest/ch14_MCSensor.html Talon SRX bring up]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Learn ==&lt;br /&gt;
&lt;br /&gt;
Looking to learn more about how to code?  Try the [[Programming Languages]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Code&amp;diff=709</id>
		<title>Code</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Code&amp;diff=709"/>
		<updated>2019-02-10T20:14:27Z</updated>

		<summary type="html">&lt;p&gt;Jolup: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://gitlab.mort11.org Team Gitlab Page]  (Also access to personal pages)&lt;br /&gt;
&lt;br /&gt;
[https://gitlab.mort11.org/programming/2018robot Official 2018 Code for MORT11's FRC Power Up Season]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/Joshua-Ciffer/Mount-Olive-Robotics-Team-2018 Josh's Off-Season Code on github]  An excellent resource&lt;br /&gt;
&lt;br /&gt;
[https://github.com/bmirisola/Mort_u_project Benny's github MORT U Project]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Aspects of robotics programming ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Joysticks ===&lt;br /&gt;
&lt;br /&gt;
[https://wpilib.screenstepslive.com/s/currentCS/m/java/l/599723-joysticks joystick configuration and usage]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== PID ===&lt;br /&gt;
&lt;br /&gt;
[https://frc-pdr.readthedocs.io/en/latest/control/pid_control.html PID overview]&lt;br /&gt;
&lt;br /&gt;
   Specficially see the Tuning Methods section.&lt;br /&gt;
&lt;br /&gt;
[https://phoenix-documentation.readthedocs.io/en/latest/ch14_MCSensor.html Talon SRX bring up]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Learn ==&lt;br /&gt;
&lt;br /&gt;
Looking to learn more about how to code?  Try the [[Programming Languages]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Code&amp;diff=708</id>
		<title>Code</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Code&amp;diff=708"/>
		<updated>2019-02-10T20:02:16Z</updated>

		<summary type="html">&lt;p&gt;Jolup: added programming aspects / PID&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://gitlab.mort11.org Team Gitlab Page]  (Also access to personal pages)&lt;br /&gt;
&lt;br /&gt;
[https://gitlab.mort11.org/programming/2018robot Official 2018 Code for MORT11's FRC Power Up Season]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/Joshua-Ciffer/Mount-Olive-Robotics-Team-2018 Josh's Off-Season Code on github]  An excellent resource&lt;br /&gt;
&lt;br /&gt;
[https://github.com/bmirisola/Mort_u_project Benny's github MORT U Project]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Aspects of robotics programming ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== PID ===&lt;br /&gt;
&lt;br /&gt;
[https://frc-pdr.readthedocs.io/en/latest/control/pid_control.html PID overview]&lt;br /&gt;
&lt;br /&gt;
   Specficially see the Tuning Methods section.&lt;br /&gt;
&lt;br /&gt;
[https://phoenix-documentation.readthedocs.io/en/latest/ch14_MCSensor.html Talon SRX bring up]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Learn ==&lt;br /&gt;
&lt;br /&gt;
Looking to learn more about how to code?  Try the [[Programming Languages]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Programming&amp;diff=707</id>
		<title>Programming</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Programming&amp;diff=707"/>
		<updated>2019-02-10T19:43:18Z</updated>

		<summary type="html">&lt;p&gt;Jolup: /* CODE, Examples, Programming */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
* [[Programming - Getting Started | Getting Started - Intros and Installs]]&lt;br /&gt;
:* MORT U 2018&lt;br /&gt;
:* The IDE&lt;br /&gt;
:* Java&lt;br /&gt;
:* The RoboRIO&lt;br /&gt;
:* WPI Lib&lt;br /&gt;
:* LabVIEW and the Driver Station/Classmate&lt;br /&gt;
:* Version Control/Configuration Management - with Git&lt;br /&gt;
:* Day 1 Installs&lt;br /&gt;
&lt;br /&gt;
* [[Programming - Getting Started Tutorials | Getting Started Tutorials]]&lt;br /&gt;
:* Java - Command Based Programming&lt;br /&gt;
:* Python&lt;br /&gt;
:* IntelliJ&lt;br /&gt;
:* Git&lt;br /&gt;
&lt;br /&gt;
== Documents Guides and References ==&lt;br /&gt;
[https://mort11.com/mentor.wiki/index.php/Java#Documents.2C_Guides.2C_and_References Java/WPILib/etc Documents, Guides and References]&lt;br /&gt;
&lt;br /&gt;
== Code: Examples, Programming Techniques ==&lt;br /&gt;
[[Code | Code Page]]&lt;br /&gt;
&lt;br /&gt;
:Links to Project Code, Example Code, Shared Code, in Gitlab, Github, and elsewhere&lt;br /&gt;
&lt;br /&gt;
== Programming Languages ==&lt;br /&gt;
[[Programming Languages]]&lt;br /&gt;
&lt;br /&gt;
:Java, WPI Lib, and Python (Intros, and links to individual pages with more info)&lt;br /&gt;
&lt;br /&gt;
== Design ==&lt;br /&gt;
[[Software Design | How to Design Software]]&lt;br /&gt;
&lt;br /&gt;
Ways to design software, including:&lt;br /&gt;
&lt;br /&gt;
* Flow Charts&lt;br /&gt;
* Data Flow Diagrams&lt;br /&gt;
* Decomposition&lt;br /&gt;
* Pseudocode&lt;br /&gt;
* Functional Specification&lt;br /&gt;
* Object Oriented Design&lt;br /&gt;
&lt;br /&gt;
== Task Management ==&lt;br /&gt;
[https://kanbanflow.com Kanban Flow] &lt;br /&gt;
: This is a web browser based tool that implements a digital Sticky Note Board.  Very simple interface with a lot of power to manage.  Tasks are recorded on stickies and are placed in columns.  &lt;br /&gt;
:* The defaults allow placement in ''To-Do'', ''Do Today'', ''In Progress'', and ''Done'', but these are tailorable.&lt;br /&gt;
:* Subtasks can be placed right in the notes with checkboxes to indicate completion.&lt;br /&gt;
:* Drag and drop stickies into different columns to indicate status.&lt;br /&gt;
:* Tasks can be assigned to 1 or more people, can have tags or labels that can be filtered, and can be color coded.&lt;br /&gt;
&lt;br /&gt;
== Project Documentation ==&lt;br /&gt;
[[2019 Programming Build Season Installs | Build Season Installs]]&lt;br /&gt;
&lt;br /&gt;
[[Programming Project Lifecycle | Project Lifecycle]]&lt;br /&gt;
&lt;br /&gt;
== Additional Topics ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|[https://mort11.com/mentor.wiki/index.php/Category:Programming Index of all Topics]&lt;br /&gt;
|[[Beginner Topics]]&lt;br /&gt;
|[[Intermediate Topics]]&lt;br /&gt;
|[[Advanced Topics]]&lt;br /&gt;
|[[Programming Wiki To Do List]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Programming&amp;diff=706</id>
		<title>Programming</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Programming&amp;diff=706"/>
		<updated>2019-02-10T19:42:42Z</updated>

		<summary type="html">&lt;p&gt;Jolup: /* = */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
* [[Programming - Getting Started | Getting Started - Intros and Installs]]&lt;br /&gt;
:* MORT U 2018&lt;br /&gt;
:* The IDE&lt;br /&gt;
:* Java&lt;br /&gt;
:* The RoboRIO&lt;br /&gt;
:* WPI Lib&lt;br /&gt;
:* LabVIEW and the Driver Station/Classmate&lt;br /&gt;
:* Version Control/Configuration Management - with Git&lt;br /&gt;
:* Day 1 Installs&lt;br /&gt;
&lt;br /&gt;
* [[Programming - Getting Started Tutorials | Getting Started Tutorials]]&lt;br /&gt;
:* Java - Command Based Programming&lt;br /&gt;
:* Python&lt;br /&gt;
:* IntelliJ&lt;br /&gt;
:* Git&lt;br /&gt;
&lt;br /&gt;
== Documents Guides and References ==&lt;br /&gt;
[https://mort11.com/mentor.wiki/index.php/Java#Documents.2C_Guides.2C_and_References Java/WPILib/etc Documents, Guides and References]&lt;br /&gt;
&lt;br /&gt;
== CODE, Examples, Programming ==&lt;br /&gt;
[[Code | Code Page]]&lt;br /&gt;
&lt;br /&gt;
:Links to Project Code, Example Code, Shared Code, in Gitlab, Github, and elsewhere&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Programming Languages ==&lt;br /&gt;
[[Programming Languages]]&lt;br /&gt;
&lt;br /&gt;
:Java, WPI Lib, and Python (Intros, and links to individual pages with more info)&lt;br /&gt;
&lt;br /&gt;
== Design ==&lt;br /&gt;
[[Software Design | How to Design Software]]&lt;br /&gt;
&lt;br /&gt;
Ways to design software, including:&lt;br /&gt;
&lt;br /&gt;
* Flow Charts&lt;br /&gt;
* Data Flow Diagrams&lt;br /&gt;
* Decomposition&lt;br /&gt;
* Pseudocode&lt;br /&gt;
* Functional Specification&lt;br /&gt;
* Object Oriented Design&lt;br /&gt;
&lt;br /&gt;
== Task Management ==&lt;br /&gt;
[https://kanbanflow.com Kanban Flow] &lt;br /&gt;
: This is a web browser based tool that implements a digital Sticky Note Board.  Very simple interface with a lot of power to manage.  Tasks are recorded on stickies and are placed in columns.  &lt;br /&gt;
:* The defaults allow placement in ''To-Do'', ''Do Today'', ''In Progress'', and ''Done'', but these are tailorable.&lt;br /&gt;
:* Subtasks can be placed right in the notes with checkboxes to indicate completion.&lt;br /&gt;
:* Drag and drop stickies into different columns to indicate status.&lt;br /&gt;
:* Tasks can be assigned to 1 or more people, can have tags or labels that can be filtered, and can be color coded.&lt;br /&gt;
&lt;br /&gt;
== Project Documentation ==&lt;br /&gt;
[[2019 Programming Build Season Installs | Build Season Installs]]&lt;br /&gt;
&lt;br /&gt;
[[Programming Project Lifecycle | Project Lifecycle]]&lt;br /&gt;
&lt;br /&gt;
== Additional Topics ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|[https://mort11.com/mentor.wiki/index.php/Category:Programming Index of all Topics]&lt;br /&gt;
|[[Beginner Topics]]&lt;br /&gt;
|[[Intermediate Topics]]&lt;br /&gt;
|[[Advanced Topics]]&lt;br /&gt;
|[[Programming Wiki To Do List]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Programming&amp;diff=705</id>
		<title>Programming</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Programming&amp;diff=705"/>
		<updated>2019-02-10T19:41:53Z</updated>

		<summary type="html">&lt;p&gt;Jolup: refined terminology to better point to important information - code.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
* [[Programming - Getting Started | Getting Started - Intros and Installs]]&lt;br /&gt;
:* MORT U 2018&lt;br /&gt;
:* The IDE&lt;br /&gt;
:* Java&lt;br /&gt;
:* The RoboRIO&lt;br /&gt;
:* WPI Lib&lt;br /&gt;
:* LabVIEW and the Driver Station/Classmate&lt;br /&gt;
:* Version Control/Configuration Management - with Git&lt;br /&gt;
:* Day 1 Installs&lt;br /&gt;
&lt;br /&gt;
* [[Programming - Getting Started Tutorials | Getting Started Tutorials]]&lt;br /&gt;
:* Java - Command Based Programming&lt;br /&gt;
:* Python&lt;br /&gt;
:* IntelliJ&lt;br /&gt;
:* Git&lt;br /&gt;
&lt;br /&gt;
== Documents Guides and References ==&lt;br /&gt;
[https://mort11.com/mentor.wiki/index.php/Java#Documents.2C_Guides.2C_and_References Java/WPILib/etc Documents, Guides and References]&lt;br /&gt;
&lt;br /&gt;
== CODE, Examples, Programming ==&lt;br /&gt;
[[Code | Code Page]]&lt;br /&gt;
&lt;br /&gt;
:Links to Project Code, Example Code, Shared Code, in Gitlab, Github, and elsewhere&lt;br /&gt;
&lt;br /&gt;
=== &lt;br /&gt;
&lt;br /&gt;
== Programming Languages ==&lt;br /&gt;
[[Programming Languages]]&lt;br /&gt;
&lt;br /&gt;
:Java, WPI Lib, and Python (Intros, and links to individual pages with more info)&lt;br /&gt;
&lt;br /&gt;
== Design ==&lt;br /&gt;
[[Software Design | How to Design Software]]&lt;br /&gt;
&lt;br /&gt;
Ways to design software, including:&lt;br /&gt;
&lt;br /&gt;
* Flow Charts&lt;br /&gt;
* Data Flow Diagrams&lt;br /&gt;
* Decomposition&lt;br /&gt;
* Pseudocode&lt;br /&gt;
* Functional Specification&lt;br /&gt;
* Object Oriented Design&lt;br /&gt;
&lt;br /&gt;
== Task Management ==&lt;br /&gt;
[https://kanbanflow.com Kanban Flow] &lt;br /&gt;
: This is a web browser based tool that implements a digital Sticky Note Board.  Very simple interface with a lot of power to manage.  Tasks are recorded on stickies and are placed in columns.  &lt;br /&gt;
:* The defaults allow placement in ''To-Do'', ''Do Today'', ''In Progress'', and ''Done'', but these are tailorable.&lt;br /&gt;
:* Subtasks can be placed right in the notes with checkboxes to indicate completion.&lt;br /&gt;
:* Drag and drop stickies into different columns to indicate status.&lt;br /&gt;
:* Tasks can be assigned to 1 or more people, can have tags or labels that can be filtered, and can be color coded.&lt;br /&gt;
&lt;br /&gt;
== Project Documentation ==&lt;br /&gt;
[[2019 Programming Build Season Installs | Build Season Installs]]&lt;br /&gt;
&lt;br /&gt;
[[Programming Project Lifecycle | Project Lifecycle]]&lt;br /&gt;
&lt;br /&gt;
== Additional Topics ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|[https://mort11.com/mentor.wiki/index.php/Category:Programming Index of all Topics]&lt;br /&gt;
|[[Beginner Topics]]&lt;br /&gt;
|[[Intermediate Topics]]&lt;br /&gt;
|[[Advanced Topics]]&lt;br /&gt;
|[[Programming Wiki To Do List]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Mechanical&amp;diff=691</id>
		<title>Mechanical</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Mechanical&amp;diff=691"/>
		<updated>2019-02-05T00:30:52Z</updated>

		<summary type="html">&lt;p&gt;Jolup: added motor controller notes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Mechanical Engineering Videos ==&lt;br /&gt;
[[Mechanical Engineering Videos]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Components ===&lt;br /&gt;
&lt;br /&gt;
==== Motor Controller Notes ====&lt;br /&gt;
In the 2019 system we are using one Talon and two Victor Motor Controllers per side.&lt;br /&gt;
Victor controllers are slaved to the Talon.  Talon is used for the data port (encoder interface).&lt;br /&gt;
There should be one Talon in the drivetrain (encoder interface) but using victor controllers saves some $$$.&lt;br /&gt;
Here is a comparison sheet for familiarity: [https://mort11.com/downloads/mentor.wiki/mechanical/victor_talon.pdf Victor vs Talon]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Getting_Started_With_MediaWiki&amp;diff=690</id>
		<title>Getting Started With MediaWiki</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Getting_Started_With_MediaWiki&amp;diff=690"/>
		<updated>2019-02-03T18:55:58Z</updated>

		<summary type="html">&lt;p&gt;Jolup: added server code organization.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Using MediaWiki ==&lt;br /&gt;
Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Formatting Formatting Help] (Note that this link is available on every editing page by clicking '''Editing help'''.)&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Help:Tables Formatting Tables]&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Help:Images Images] (not enabled in this manner, [https://mort11.com/mentor.wiki/index.php/Getting_Started_With_MediaWiki#Images_and_Files see below])&lt;br /&gt;
&lt;br /&gt;
=== MediaWiki Formatting Tips ===&lt;br /&gt;
&lt;br /&gt;
* To make code blocks, indent the content with at least 1 space.&lt;br /&gt;
* To put URLs into code blocks without being acted upon use &amp;lt;nowiki&amp;gt;&amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;&amp;lt;/nowiki&amp;gt; tags around your text, this bypasses a MediaWiki throw back called magic links (community wants to end this function anyway). The ''nowiki'' tags can be used to escape other MediaWiki tags, as well, like was done here.&lt;br /&gt;
* You can also use &amp;lt;nowiki&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/nowiki&amp;gt; to set off preformatted text &amp;lt;pre&amp;gt;like on this line,&amp;lt;/pre&amp;gt;though nesting of ''pre'' tags seems a bit buggered. &lt;br /&gt;
* The &amp;lt;nowiki&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/nowiki&amp;gt; tags put items on a separate line.  To just set off preformatted text inline &amp;lt;code&amp;gt;like this&amp;lt;/code&amp;gt;, use &amp;lt;nowiki&amp;gt;&amp;lt;code&amp;gt; &amp;lt;/code&amp;gt;&amp;lt;/nowiki&amp;gt;, or for &amp;lt;tt&amp;gt;text without the box,&amp;lt;/tt&amp;gt; just use &amp;lt;nowiki&amp;gt;&amp;lt;tt&amp;gt; &amp;lt;/tt&amp;gt;&amp;lt;/nowiki&amp;gt;. &lt;br /&gt;
* To make numbered lists, surround the list with &amp;lt;nowiki&amp;gt;&amp;lt;ol start&amp;gt; &amp;lt;/ol start&amp;gt;&amp;lt;/nowiki&amp;gt; tags, then start each line with a hashtag.&lt;br /&gt;
* Colons at the start of a line cause indents, more colons, more tab stops.  They also reset the list counts.&lt;br /&gt;
* Put hidden comments (only visible when editing) in your markup by putting them in like this: &amp;lt;pre&amp;gt;&amp;lt;!-- This is a comment --\&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Using ''Category'' to tag Pages ===&lt;br /&gt;
&lt;br /&gt;
Adding &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Category:MyCategoryName]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to the bottom of all pages in a category will provide a link to an Index, of all pages in that category.  For example, see the [https://mort11.com/mentor.wiki/index.php/Category:Programming Programming Category].&lt;br /&gt;
&lt;br /&gt;
[https://m.mediawiki.org/wiki/Help:Categories#Tracking_categories More details about Categories]&lt;br /&gt;
&lt;br /&gt;
=== Images and Files ===&lt;br /&gt;
&lt;br /&gt;
# In order to incorporate images or files, you have to have them hosted externally, or uploaded to the server by one of the admins.&lt;br /&gt;
:::Brian Binovsky&amp;lt;br&amp;gt;&lt;br /&gt;
:::Dan Steinmark&amp;lt;br&amp;gt;&lt;br /&gt;
:::Jerry Olup&lt;br /&gt;
&amp;lt;ol start=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;It's easiest if you remove special characters and spaces from the file name prior to upload.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Have them place the file in the /downloads/mentor.wiki directory (/downloads at the root level, not within the main mentor.wiki directory) using eXtplorer, accessible from the Admin page.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a link to the file by inserting the following into your page &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;[https://mort11.com/downloads/mentor.wiki/FileName.ext Viewable link text to the File]&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Replace spaces in the name with &amp;lt;code&amp;gt;%20&amp;lt;/code&amp;gt;; better yet exclude spaces (see 2).&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Organization of the code on the server:&lt;br /&gt;
*&amp;lt;code&amp;gt;/www/&amp;lt;/code&amp;gt;                       : off root of filessytem- the main mort11.com site is here&lt;br /&gt;
*&amp;lt;code&amp;gt;/www/mentor.wiki&amp;lt;/code&amp;gt;            : the main mentor wiki root.&lt;br /&gt;
*&amp;lt;code&amp;gt;/www/downloads/mentor.wiki&amp;lt;/code&amp;gt;  : the main mentor wiki uploaded file repository. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Test Page ===&lt;br /&gt;
&lt;br /&gt;
You can use this '''[[Test Page]]''' to try things out.&lt;br /&gt;
&lt;br /&gt;
== Managing this MediaWiki Site ==&lt;br /&gt;
* See [[User:Admin]] for How To Administer a MediaWiki and to administer this site.&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Git_Notes&amp;diff=689</id>
		<title>Git Notes</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Git_Notes&amp;diff=689"/>
		<updated>2019-02-02T17:06:10Z</updated>

		<summary type="html">&lt;p&gt;Jolup: Added specifics for how the kids can work with our MORT gitlab repository.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Intro ==&lt;br /&gt;
Notes that describe Git repo creation, usage, maintenance,&lt;br /&gt;
&lt;br /&gt;
The idea is that you can see the commands commonly used to work within command line git and what they do with an actual repository and code....&lt;br /&gt;
&lt;br /&gt;
this is decomposed into two sections.  Using gilab / github (our robot code is on gitlab)&lt;br /&gt;
&lt;br /&gt;
=== Generic Git usage - example based ===&lt;br /&gt;
We use gitlab for our robotics projects: &lt;br /&gt;
[https://about.gitlab.com/2017/07/19/git-wars-switching-to-gitlab/ gitlab v github]&lt;br /&gt;
&lt;br /&gt;
Our git repo (for obviously the 2019 robot): git@gitlab.mort11.org:programming/2019robot.git&lt;br /&gt;
&lt;br /&gt;
==== I want to pull and work a branch ====&lt;br /&gt;
&lt;br /&gt;
* from wherever you want to work: git clone git@gitlab.mort11.org:programming/2019robot.git&lt;br /&gt;
* now let's see what we got:&lt;br /&gt;
**  &amp;lt;pre&amp;gt; git branch -v -a &amp;lt;/pre&amp;gt; lists all repos and check in notes&lt;br /&gt;
*** jerry.olup@dev0105u16:~/work/FRC/git_repos/2019robot$ git branch -v -a&lt;br /&gt;
    drivetrain                        72d20ef Added right side to velocity drive&lt;br /&gt;
    master                            d8175af updated gradle wrapper&lt;br /&gt;
    remotes/origin/EndEffector        d6bbc14 Untracked file&lt;br /&gt;
    remotes/origin/HEAD               -&amp;gt; origin/master&lt;br /&gt;
    remotes/origin/Vision             688ab76 added automaticCapture&lt;br /&gt;
    remotes/origin/autonomous_chooser 6c4ee16 Completed Shuffleboard Auton Chooser&lt;br /&gt;
    remotes/origin/demo               cb68d88 finalized demo and showed it off&lt;br /&gt;
    remotes/origin/drivetrain         72d20ef Added right side to velocity drive&lt;br /&gt;
    remotes/origin/master             d8175af updated gradle wrapper&lt;br /&gt;
    remotes/origin/navx               5d45f56 updated TurnDegreesAutomaticTesting CommandGroup with a targetAngle parameter&lt;br /&gt;
* We want to switch to drivetrain, so we need set a local branch to track the remote branch (see: [https://www.git-tower.com/learn/git/faq/track-remote-upstream-branch tracking])&lt;br /&gt;
* &amp;lt;pre&amp;gt; git branch --track drivetrain orgin/drivetrain &amp;lt;/pre&amp;gt;&lt;br /&gt;
** now you have a local branch, drivetrain, that tracks to the remote/origin/drivetrain&lt;br /&gt;
* Ok let's verify that we're all set:&lt;br /&gt;
** &amp;lt;pre&amp;gt; git branch &amp;lt;/pre&amp;gt; results in:&lt;br /&gt;
     jerry.olup@dev0105u16:~/work/FRC/git_repos/2019robot$ git branch   &lt;br /&gt;
     * drivetrain&lt;br /&gt;
       master&lt;br /&gt;
  &lt;br /&gt;
And that's how simple it is (once you ''git'' it) to work with our remote repository.&lt;br /&gt;
&lt;br /&gt;
For other git actions... like commit, pull, push see below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Generic Git usage - example based ===&lt;br /&gt;
This is not as critical as the information above but gives you an idea of general git usage.&lt;br /&gt;
This was something I developed for my team at an old workplace to teach them how to use a git repo I established.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Initialization ====&lt;br /&gt;
&lt;br /&gt;
Initialize a bare repo (alternative to cloning or pulling). &lt;br /&gt;
Use git config to check and change your side of the repo.  Can set many parameters. A few are shown in the git config section.&lt;br /&gt;
&lt;br /&gt;
After you make changes you should list the changes to view them for accuracy....&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git init --bare	creates repo in this directory root&lt;br /&gt;
&lt;br /&gt;
git config	- add tags to data&lt;br /&gt;
		--global user.name &amp;quot;your name&amp;quot;&lt;br /&gt;
		--global user.email jolup@lgsinnovations.com&lt;br /&gt;
		--global core.editor emacs&lt;br /&gt;
	&lt;br /&gt;
git config --list   // check settings&lt;br /&gt;
git config user.name  // return user name&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Stage your files ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git add &amp;lt;file path from root of repo&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Check status of what's staged ====&lt;br /&gt;
Once staged, you should have &amp;quot;Changes to be committed&amp;quot; with list of new files you may have &amp;quot;Untracked files&amp;quot; listing; this should be empty.  Everything in repo should be worthy of tracking.  If not, move or destroy the extra files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
		EX &amp;quot;git status&amp;quot; returns:&lt;br /&gt;
		# On branch master&lt;br /&gt;
		#&lt;br /&gt;
		# Initial commit&lt;br /&gt;
		#&lt;br /&gt;
		# Changes to be committed:&lt;br /&gt;
		#   (use &amp;quot;git rm --cached &amp;lt;file&amp;gt;...&amp;quot; to unstage)&lt;br /&gt;
		#&lt;br /&gt;
		#	new file:   components/AHB_bus.vhd&lt;br /&gt;
		#	new file:   components/AHB_bus_wrapper.vhd&lt;br /&gt;
		#	new file:   cpld_slave_wave.do&lt;br /&gt;
		#	new file:   cpld_wave.do&lt;br /&gt;
		#	new file:   make_ver.tcl&lt;br /&gt;
		#	new file:   modelsim.ini&lt;br /&gt;
		#	new file:   run_cpld_simulation.do&lt;br /&gt;
		#	new file:   src/SataMux_FPGA_01.vhd&lt;br /&gt;
		#	new file:   src/SataMux_FPGA_01_DEBUG1.vhd&lt;br /&gt;
		#	new file:   src/cpld_top.vhd&lt;br /&gt;
		#	new file:   src/cpld_types_pkg.vhd&lt;br /&gt;
		#	new file:   src/functions_pkg.vhd&lt;br /&gt;
		#	new file:   src/qspi_slave_ahb.vhd&lt;br /&gt;
		#	new file:   src/qspi_slave_ahb_r2.vhd&lt;br /&gt;
		#	new file:   src/qspi_slave_ahb_r3.vhd&lt;br /&gt;
		#	new file:   src/spi_slave.vhd&lt;br /&gt;
		#	new file:   src/test_01.vhd&lt;br /&gt;
		#	new file:   src/types_pkg.vhd&lt;br /&gt;
		#	new file:   src/version_pkg.vhd&lt;br /&gt;
		#	new file:   src/wftp_cpld_r0.vhd&lt;br /&gt;
		#	new file:   tb/AHB_bus_wrapper_sim.vhd&lt;br /&gt;
		#	new file:   tb/AHB_bus_wrapper_sim_breakout.vhd&lt;br /&gt;
		#	new file:   tb/SataMux_FPGA_01.vhd&lt;br /&gt;
		#	new file:   tb/SataMux_FPGA_01_DEBUG1.vhd&lt;br /&gt;
		#	new file:   tb/clkgen.v&lt;br /&gt;
		#	new file:   tb/cpld_qspi_tb.v&lt;br /&gt;
		#	new file:   tb/cpld_tb.v&lt;br /&gt;
		#	new file:   tb/cpld_tb_non_ahb.v&lt;br /&gt;
		#	new file:   tb/functions_pkg.vhd&lt;br /&gt;
		#	new file:   tb/qspi_master_bfm.v&lt;br /&gt;
		#	new file:   tb/qspi_slave_ahb.vhd&lt;br /&gt;
		#	new file:   tb/simple_slave.vhd&lt;br /&gt;
		#	new file:   tb/spi_slave.vhd&lt;br /&gt;
		#	new file:   tb/test_01.vhd&lt;br /&gt;
		#	new file:   tb/test_operations.v&lt;br /&gt;
		#	new file:   tb/types_pkg.vhd&lt;br /&gt;
		#	new file:   tb/user_logic.vhd&lt;br /&gt;
		#	new file:   tb/version_pkg.vhd&lt;br /&gt;
		#	new file:   tb/wftp_cpld_r0.vhd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Now commit files ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git commit -m 'Initial CPLD project commit'&lt;br /&gt;
	[master (root-commit) bf88314] Initial CPLD project commit&lt;br /&gt;
	 39 files changed, 14089 insertions(+)&lt;br /&gt;
	 create mode 100755 components/AHB_bus.vhd&lt;br /&gt;
	 create mode 100644 components/AHB_bus_wrapper.vhd&lt;br /&gt;
	 create mode 100755 cpld_slave_wave.do&lt;br /&gt;
	 create mode 100755 cpld_wave.do&lt;br /&gt;
	 create mode 100755 make_ver.tcl&lt;br /&gt;
	 create mode 100644 modelsim.ini&lt;br /&gt;
	 create mode 100755 run_cpld_simulation.do&lt;br /&gt;
	 create mode 100755 src/SataMux_FPGA_01.vhd&lt;br /&gt;
	 create mode 100755 src/SataMux_FPGA_01_DEBUG1.vhd&lt;br /&gt;
	 create mode 100644 src/cpld_top.vhd&lt;br /&gt;
	 create mode 100644 src/cpld_types_pkg.vhd&lt;br /&gt;
	 create mode 100755 src/functions_pkg.vhd&lt;br /&gt;
	 create mode 100755 src/qspi_slave_ahb.vhd&lt;br /&gt;
	 create mode 100755 src/qspi_slave_ahb_r2.vhd&lt;br /&gt;
	 create mode 100644 src/qspi_slave_ahb_r3.vhd&lt;br /&gt;
	 create mode 100755 src/spi_slave.vhd&lt;br /&gt;
	 create mode 100755 src/test_01.vhd&lt;br /&gt;
	 create mode 100755 src/types_pkg.vhd&lt;br /&gt;
	 create mode 100755 src/version_pkg.vhd&lt;br /&gt;
	 create mode 100755 src/wftp_cpld_r0.vhd&lt;br /&gt;
	 create mode 100644 tb/AHB_bus_wrapper_sim.vhd&lt;br /&gt;
	 create mode 100644 tb/AHB_bus_wrapper_sim_breakout.vhd&lt;br /&gt;
	 create mode 100755 tb/SataMux_FPGA_01.vhd&lt;br /&gt;
	 create mode 100755 tb/SataMux_FPGA_01_DEBUG1.vhd&lt;br /&gt;
	 create mode 100755 tb/clkgen.v&lt;br /&gt;
	 create mode 100644 tb/cpld_qspi_tb.v&lt;br /&gt;
	 create mode 100755 tb/cpld_tb.v&lt;br /&gt;
	 create mode 100755 tb/cpld_tb_non_ahb.v&lt;br /&gt;
	 create mode 100755 tb/functions_pkg.vhd&lt;br /&gt;
	 create mode 100755 tb/qspi_master_bfm.v&lt;br /&gt;
	 create mode 100755 tb/qspi_slave_ahb.vhd&lt;br /&gt;
	 create mode 100755 tb/simple_slave.vhd&lt;br /&gt;
	 create mode 100755 tb/spi_slave.vhd&lt;br /&gt;
	 create mode 100755 tb/test_01.vhd&lt;br /&gt;
	 create mode 100755 tb/test_operations.v&lt;br /&gt;
	 create mode 100755 tb/types_pkg.vhd&lt;br /&gt;
	 create mode 100755 tb/user_logic.vhd&lt;br /&gt;
	 create mode 100755 tb/version_pkg.vhd&lt;br /&gt;
	 create mode 100755 tb/wftp_cpld_r0.vhd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Having established the repo, clone it to work with it.&lt;br /&gt;
&lt;br /&gt;
From my perspective, on your working laptop:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone cpld_git_repo  working    // checkout the repo to the 'working' directory.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
FEW HOURS LATER, (after a bunch of code changes and test) you have a happy point where you should check in code.&lt;br /&gt;
&lt;br /&gt;
So status the repo, then see below to status it with less verbosity. Add the files, commit and push as shown:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Status the working directory ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ cd working&lt;br /&gt;
	bash-4.2$ git status&lt;br /&gt;
	# On branch master&lt;br /&gt;
	# Changes not staged for commit:&lt;br /&gt;
	#   (use &amp;quot;git add &amp;lt;file&amp;gt;...&amp;quot; to update what will be committed)&lt;br /&gt;
	#   (use &amp;quot;git checkout -- &amp;lt;file&amp;gt;...&amp;quot; to discard changes in working directory)&lt;br /&gt;
	#&lt;br /&gt;
	#	modified:   cpld_wave.do&lt;br /&gt;
	#	modified:   tb/cpld_qspi_tb.v&lt;br /&gt;
	#	modified:   tb/qspi_master_bfm.v&lt;br /&gt;
	#	modified:   tb/test_operations.v&lt;br /&gt;
	#&lt;br /&gt;
	no changes added to commit (use &amp;quot;git add&amp;quot; and/or &amp;quot;git commit -a&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you get used to status, you don't need the verbosity, use -s:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git status -s&lt;br /&gt;
	 M cpld_wave.do&lt;br /&gt;
	 M tb/cpld_qspi_tb.v&lt;br /&gt;
	 M tb/qspi_master_bfm.v&lt;br /&gt;
	 M tb/test_operations.v&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Determine differences between checkout and repo ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git diff&lt;br /&gt;
	&amp;lt;file by file, line by line&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Stage files to be committed ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git add  tb/*.v&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Verify staging (subtle with the -s status).  The indented M is modified file that is not the 'M' files that are not indented (aside from tab) are staged.  Add the waveform viewer.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git status -s&lt;br /&gt;
	 M cpld_wave.do&lt;br /&gt;
	M  tb/cpld_qspi_tb.v&lt;br /&gt;
	M  tb/qspi_master_bfm.v&lt;br /&gt;
	M  tb/test_operations.v&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
How long form status is (note all are staged now):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git add cpld_wave.do &lt;br /&gt;
	bash-4.2$ git status&lt;br /&gt;
	# On branch master&lt;br /&gt;
	# Changes to be committed:&lt;br /&gt;
	#   (use &amp;quot;git reset HEAD &amp;lt;file&amp;gt;...&amp;quot; to unstage)&lt;br /&gt;
	#&lt;br /&gt;
	#	modified:   cpld_wave.do&lt;br /&gt;
	#	modified:   tb/cpld_qspi_tb.v&lt;br /&gt;
	#	modified:   tb/qspi_master_bfm.v&lt;br /&gt;
	#	modified:   tb/test_operations.v&lt;br /&gt;
	#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since files are staged you can commit changes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A text file comes up, where you can write commit notes.  this files is git status just before commit.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git commit&lt;br /&gt;
	[master 0c80bfb] Added mode to qspi_master_bfm. Corrected functionality for cpld_qspi_tb. Current functionality includes correct register writes / reads using synthesis-proven top level CPLD code. Testbench (cpld_qspi_tb) verified register read / write. JJO 12.22&lt;br /&gt;
	 4 files changed, 111 insertions(+), 92 deletions(-)&lt;br /&gt;
	 rewrite cpld_wave.do (78%)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, in working dir, status comes up blank.  commit complete.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash-4.2$ git status&lt;br /&gt;
# On branch master&lt;br /&gt;
# Your branch is ahead of 'origin/master' by 1 commit.&lt;br /&gt;
#   (use &amp;quot;git push&amp;quot; to publish your local commits)&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nothing to commit, working directory clean  '''TBD FORMATTING FOR BELOW SECTION'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash-4.2$ git push&lt;br /&gt;
warning: push.default is unset; its implicit value is changing in&lt;br /&gt;
Git 2.0 from 'matching' to 'simple'. To squelch this message&lt;br /&gt;
and maintain the current behavior after the default changes, use:&lt;br /&gt;
&lt;br /&gt;
  git config --global push.default matching&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To squelch this message and adopt the new behavior now, use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  git config --global push.default simple&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See 'git help config' and search for 'push.default' for further information.&lt;br /&gt;
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode&lt;br /&gt;
'current' instead of 'simple' if you sometimes use older versions of Git)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Counting objects: 38, done.&lt;br /&gt;
Delta compression using up to 40 threads.&lt;br /&gt;
Compressing objects: 100% (26/26), done.&lt;br /&gt;
Writing objects: 100% (26/26), 30.43 KiB | 0 bytes/s, done.&lt;br /&gt;
Total 26 (delta 12), reused 0 (delta 0)&lt;br /&gt;
To /home/jolup/work/wftp/igloo_cpld_design/cpld_git_repo/&lt;br /&gt;
   af3b682..5d0932d  master -&amp;gt; master&lt;br /&gt;
bash-4.2$ git status&lt;br /&gt;
# On branch master&lt;br /&gt;
nothing to commit, working directory clean&lt;br /&gt;
bash-4.2$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
gitk = nice TK interface to view diffs, look at versions based on sha1.  In repo root, simply run gitk.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt; gitk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You want to revert to an older version?  No problem&lt;br /&gt;
&lt;br /&gt;
First, status the repo (working or master)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash-4.2$ git log --oneline&lt;br /&gt;
&lt;br /&gt;
af3b682 01.21.2015  jjo   Added debug ports to the top level fpga.     committing the design constraints, top level and slave file.     The CPLD is reacting&lt;br /&gt;
d8ac067 jjo 01.20.15   Corrected physical constraints on the QPSI interface.                  -- changed to LVCMOS33 from TTL                  -- slowed ske&lt;br /&gt;
6494da3 Added non debug design files - forgot to stage these.&lt;br /&gt;
fb3c3fd Added design files and constraints that capture state of the spi and bus providing them to pins. Added constraints to the repository.  Only core is &lt;br /&gt;
38b7aa2 Current testbench operation (12.30 commit - 10 AM jjo)x&lt;br /&gt;
61a93f5 12.28 jjo    - Bugfix in reg_write process, found testing swrst (problem in dummy_cycles)    - Added PLL and tested SPI at 60 MHz, CPLD at 80 MHz.  &lt;br /&gt;
cc65a7f Added command processor in qspi_slave. Extended test operations and bfm to verify transaction count, incl verification. Tested command processor (WR&lt;br /&gt;
0c80bfb Added mode to qspi_master_bfm. Corrected functionality for cpld_qspi_tb. Current functionality includes correct register writes / reads using synthe&lt;br /&gt;
bf88314 Initial CPLD project commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where you want to create a prior repo copy (can be current working, but why?), clone.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone cpld_git_repo/ cpld_git_last_commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now revert in the cpld_git_last_commit&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git checkout d8ac067&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wrap up ====&lt;br /&gt;
&lt;br /&gt;
Above was working with local backed up but informal repos.  &lt;br /&gt;
remote repo established on ws-git (gitolite3)&lt;br /&gt;
&lt;br /&gt;
# distribute you pubkey to Pat B&lt;br /&gt;
# using git clone gitolite3@ws-git:&amp;lt;REPO&amp;gt;  (or whatever your repo is)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Programming_Project_Lifecycle&amp;diff=640</id>
		<title>Programming Project Lifecycle</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Programming_Project_Lifecycle&amp;diff=640"/>
		<updated>2019-01-14T00:22:12Z</updated>

		<summary type="html">&lt;p&gt;Jolup: clarified some terminology and provided examples.  Expanded on other topics.  Integrated slack information.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Development lifecycle:'''&lt;br /&gt;
: '''Requirements -&amp;gt; Design -&amp;gt; Implement -&amp;gt; Test'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Requirements''' (the WHAT of what needs to be down)&lt;br /&gt;
&lt;br /&gt;
* Requirements consists of CUSTOMER requirements and DERIVED requirements.  Requirements are mostly BEHAVIORS (do X, or display Y) or sometimes performance constraints (move to X location within TBD seconds).&lt;br /&gt;
:* '''Customer requirements''' are those that the customer requests directly (e.g. Raise a hatch precisely to a given height, deliver a ball to a cargo station automatically without operator input).  For MORT these may define field movements that the driver performs or is provided with software assistance.&lt;br /&gt;
:* '''Derived requirements''' are those behaviors that are needed to support the customer requirements (drive at a given speed, turn robot N degrees, raise the elevator, map joystick movements into drive commands)&lt;br /&gt;
&lt;br /&gt;
'''Design''' (The HOW of what needs to be done, and  also details of WHAT needs to be done by subsections of the system)&lt;br /&gt;
:* Design specifies the major components&lt;br /&gt;
:* Design specifies the minor components&lt;br /&gt;
:* Design refines the components to specify precisely what portions of the system do what, and how they do it&lt;br /&gt;
:* '''At a minimum [https://mort11.com/mentor.wiki/index.php/Software_Design#Functional_Specification ''Functional Specification''] should be written&lt;br /&gt;
:* For maintainability (maintainability: what was I thinking when I wrote this?) [https://mort11.com/mentor.wiki/index.php/Software_Design#Pseudocode ''Pseudocode''] needs to be used when coding.'''  ('''MANDATORY''')&lt;br /&gt;
:** Detailed design includes pseudocode &lt;br /&gt;
:: A functional spec includes a function signature with parameters, and the “intended function” - 1-2 lines that describe precisely, the intended functionality, per method.&lt;br /&gt;
:* Design is iterative and works by decomposing. High level at first, (e.g., The robot shall be driven with two joysticks in tank mode) then add more information (needed steps or functions), then more detail (full signatures, and precise intended functions)&lt;br /&gt;
:* Optional to use flow charts, data flow diagrams, or other design techniques&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
'''What we need to do:'''&lt;br /&gt;
&lt;br /&gt;
* Defining system function&lt;br /&gt;
** Accept and understand customer requirements&lt;br /&gt;
** Identify derived requirements&lt;br /&gt;
** Identify subsystems, refine subsystem tasking  (Benny’s area of expertise list)&lt;br /&gt;
*** Subsystems&lt;br /&gt;
**** List every subsystem, ensure they map to the core organization, defining the repoActions/ functions&lt;br /&gt;
**** Start setting up functions that the robot needs.&lt;br /&gt;
**** These will be in each class.&lt;br /&gt;
&lt;br /&gt;
** Identify primary steps to implement for each customer or derived requirement&lt;br /&gt;
** Refine each step until we don’t know what to do, then use bottom up investigation/learning until we can complete design&lt;br /&gt;
&lt;br /&gt;
* Organization of SW development repository / structure&lt;br /&gt;
code organization proposal:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
     mort2019.java&lt;br /&gt;
     util (directory)&lt;br /&gt;
        - constants per subsystem?&lt;br /&gt;
        - hw definition (port mapping)&lt;br /&gt;
        - other?&lt;br /&gt;
     sensors (directory)&lt;br /&gt;
        - sensors not vision system or nav-X&lt;br /&gt;
     end_effectors (directory)&lt;br /&gt;
        - just what it says&lt;br /&gt;
     drivetrain (directory)&lt;br /&gt;
        - self explanatory&lt;br /&gt;
     vision (directory)&lt;br /&gt;
        - vision system drivers interfacing to the embedded sw (running on roborio) &lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
I don't care if you like the proposal or not just wanted to put something up there.&lt;br /&gt;
Modify as you see fit, the kids should think about organization and all agree on it.&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=2019_Programming_Build_Season_Installs&amp;diff=622</id>
		<title>2019 Programming Build Season Installs</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=2019_Programming_Build_Season_Installs&amp;diff=622"/>
		<updated>2019-01-06T04:13:45Z</updated>

		<summary type="html">&lt;p&gt;Jolup: typo correction&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;# [https://www.jetbrains.com/idea/download/#section=windows Newest version of IntelliJ - Community Version]&lt;br /&gt;
# [http://www.ni.com/download/first-robotics-software-2017/7904/en/ FRCSuiteUpdate2019] Serial Code is: &amp;lt;code&amp;gt;B04P65022&amp;lt;/code&amp;gt;.  Use &amp;lt;code&amp;gt;$Robots&amp;amp;in#SPACE!!&amp;lt;/code&amp;gt; for the password.&lt;br /&gt;
# [https://wpilib.screenstepslive.com/s/currentCS/m/getting_started/l/999999-installing-c-and-java-development-tools-for-frc WPILib Tools] Do not install Visual Studio Code or C++ Compiler. Read the webpage there.&lt;br /&gt;
# [http://www.ctr-electronics.com/control-system/hro.html#product_tabs_technical_resources Phoenix Tuner] Under Product Description there will be a category called Installer on the left. To the right on the very top will be: &amp;lt;tt&amp;gt;CTRE Phoenix Framework Installer 5.12.0.1 (.zip)&amp;lt;/tt&amp;gt;.  Download that zip file.&lt;br /&gt;
# [https://www.kauailabs.com/public_files/navx-mxp/navx-mxp.zip Navx-MXP Software]&lt;br /&gt;
# [https://firstfrc.blob.core.windows.net/frc2019/Radio/FRC_Radio_Configuration_19_1_0.zip FRC Radio Configuration tool]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Git_Basics&amp;diff=598</id>
		<title>Git Basics</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Git_Basics&amp;diff=598"/>
		<updated>2018-11-14T01:16:42Z</updated>

		<summary type="html">&lt;p&gt;Jolup: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About Source Control ==&lt;br /&gt;
Git is a great tool for ''Source Control''.  Source Control is all about saving, sharing, and managing your source code.  It is a significant element of Configuration Management (CM), and Version Control, which deal with managing changes to a Software System (or other systems of information).  &lt;br /&gt;
&lt;br /&gt;
For example, did we want to run this upcoming event after bringing in Billy's latest efforts on the Nav system?  Did he finish it?  Test it fully?  Did Joey mess it up thinking it was fixed?  CM provides a structured approach to approving changes to the software baseline and pulling them into a ''release'' of the software.&lt;br /&gt;
&lt;br /&gt;
Source Control is the first step in a good CM process.  It makes sure we save our work, gets it backed up in case we lose our hard drive, and share our work with others.  It allows us to roll back to a previous version of working code, identify changes that were made and when, and who made those changes.  It can allow us to make sure we have the latest ''appropriate'' code from everyone, but '''we each''' have to be responsible for getting the latest code. &lt;br /&gt;
&lt;br /&gt;
We have to take this last step of ''getting latest'' to make sure our code works with the latest code, and doesn't break anything.&lt;br /&gt;
&lt;br /&gt;
== Git Basics ==&lt;br /&gt;
&lt;br /&gt;
=== Git Vocabulary ===&lt;br /&gt;
&lt;br /&gt;
'''Server''': External computer other computers connect to.  Runs software to collect and provide information to ''Clients'' (you)&lt;br /&gt;
&lt;br /&gt;
'''''Version Control System'' or ''Source Control''''': A system that manages source code for controlling what goes INTO a software version release, and provides a mechanism for making changes and tracking those changes. Your exposure to it the Source Control is the program to send information to server.&lt;br /&gt;
&lt;br /&gt;
'''Clone''': Bring an external project to your computer to work on it&lt;br /&gt;
&lt;br /&gt;
'''Repository''': A database that holds the source code&lt;br /&gt;
&lt;br /&gt;
'''Commit''': Save changes locally (to your local repository)&lt;br /&gt;
&lt;br /&gt;
'''Push''': Send local changes to server (to the shared repository)&lt;br /&gt;
&lt;br /&gt;
'''Pull''': Pull others’ changes that have been pushed.  (Does NOT get changes that have only been ''committed''.)&lt;br /&gt;
&lt;br /&gt;
=== User Setup ===&lt;br /&gt;
&lt;br /&gt;
[[Git User Setup]]&lt;br /&gt;
&lt;br /&gt;
=== Git Tutorials ===&lt;br /&gt;
[https://docs.google.com/document/d/16gXlfLOfvpGcqku0sPCVLh0xXA8K0p6cL1QrzgLtd8c/edit?usp=sharing Git for Dummies]&lt;br /&gt;
&lt;br /&gt;
[https://git-scm.com/book/en/v1/Getting-Started Getting Started with Git].  See Chapters 1 and 2.&lt;br /&gt;
&lt;br /&gt;
== More Git ==&lt;br /&gt;
[https://confluence.atlassian.com/bitbucketserver/basic-git-commands-776639767.html Git Basic Commands at Atlassian]&lt;br /&gt;
&lt;br /&gt;
[[Git GUIs | Git Graphical User Interfaces]]&lt;br /&gt;
&lt;br /&gt;
[[Git Command Line]]&lt;br /&gt;
&lt;br /&gt;
[[Git Administration]]&lt;br /&gt;
&lt;br /&gt;
[[Git Notes | Jerry's Git Notes]]&lt;br /&gt;
&lt;br /&gt;
== Command Line Git ==&lt;br /&gt;
With your pubic key in the gitlab.mort11.org site, you can simply work command line using ssh by default.&lt;br /&gt;
&lt;br /&gt;
1. Clone a repo&lt;br /&gt;
      git clone git@gitlab.mort11.org:programming/mort_u_robot.git&lt;br /&gt;
2. Now see what you have:&lt;br /&gt;
      jerry.olup@dev0105u16:~/work/IdeaProjects/mort_u_robot$ git branch&lt;br /&gt;
      * master&lt;br /&gt;
  &amp;gt;&amp;gt; this tells us that we cloned the repo and by default have the master&lt;br /&gt;
&lt;br /&gt;
3. But what's the span of this repo - what all is in it?&lt;br /&gt;
      jerry.olup@dev0105u16:~/work/IdeaProjects/mort_u_robot$ git branch -a&lt;br /&gt;
      * master&lt;br /&gt;
        remotes/origin/Ganesh&lt;br /&gt;
        remotes/origin/HEAD -&amp;gt; origin/master&lt;br /&gt;
        remotes/origin/Kevin&lt;br /&gt;
        remotes/origin/Matt&lt;br /&gt;
        remotes/origin/Nick&lt;br /&gt;
        remotes/origin/master&lt;br /&gt;
        remotes/origin/vedh&lt;br /&gt;
&lt;br /&gt;
    &amp;gt;&amp;gt; &amp;quot;git branch -a lists all local (*master) and remote (all remotes) branches.  &lt;br /&gt;
    &amp;gt;&amp;gt; ok now we know what we can draw from, let's switch the HEAD to a branch. &lt;br /&gt;
    &amp;gt;&amp;gt;    Kevin just declared victory, let's check his repo out.&lt;br /&gt;
&lt;br /&gt;
4. To now checkout Kevin's repo;&lt;br /&gt;
      - git checkout -b kevin remotes/origin/Kevin&lt;br /&gt;
      - git fetch origin&lt;br /&gt;
&lt;br /&gt;
5. Verify this is good: git branch -a&lt;br /&gt;
      * kevin&lt;br /&gt;
        master&lt;br /&gt;
        remotes/origin/Ganesh&lt;br /&gt;
        remotes/origin/HEAD -&amp;gt; origin/master&lt;br /&gt;
        remotes/origin/Kevin&lt;br /&gt;
        remotes/origin/Matt&lt;br /&gt;
        remotes/origin/Nick&lt;br /&gt;
        remotes/origin/master&lt;br /&gt;
        remotes/origin/vedh&lt;br /&gt;
&lt;br /&gt;
   &amp;gt;&amp;gt; Now Kevin and master are local, kevin is active and they are all of &lt;br /&gt;
   &amp;gt;&amp;gt;   course on the remote server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;quot;If you use Subversion, you're stupid.&amp;quot;&lt;br /&gt;
           - Linus Torvalds&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Java&amp;diff=552</id>
		<title>Java</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Java&amp;diff=552"/>
		<updated>2018-10-26T02:40:06Z</updated>

		<summary type="html">&lt;p&gt;Jolup: /* Dude, Where's my libraries (JAR Files) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== About ==&lt;br /&gt;
Java is the language we use primarily to program the FRC robots.  It is a general purpose, object oriented programming language that can do almost any variety of tasks.  It works hand-in-hand with WPI Lib to control the robot.  &lt;br /&gt;
&lt;br /&gt;
WPI Lib is the set of libraries - low level software designed to control the hardware - that interfaces with sensors and outputs, and interfaces with elements of the FRC ''Field'' such as start and stop signals.  Our Java programs need to include the WPI libraries and make calls to the Apllication Programming Interface (API) WPI Lib provides.&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
* [https://wpilib.screenstepslive.com/s/currentCS/m/java/l/599681-installing-eclipse-c-java Getting Java with Eclipse]&lt;br /&gt;
&lt;br /&gt;
Or manually with another IDE:&lt;br /&gt;
&lt;br /&gt;
* [https://www.oracle.com/technetwork/es/java/javase/downloads/jdk8-downloads-2133151.html?printOnly=1 Get JDK 8]&lt;br /&gt;
* [https://java.com/en/download/ Get Java]&lt;br /&gt;
* [https://plugins.jetbrains.com/plugin/9405-frc WPILib/FRC Plug-in for IntelliJ] if using IntelliJ you may need this?? (TBD)&lt;br /&gt;
&lt;br /&gt;
== Documents, Guides, and References ==&lt;br /&gt;
&lt;br /&gt;
* [http://first.wpi.edu/FRC/roborio/release/docs/java/ '''Java/WPI Lib Reference''']&lt;br /&gt;
* [https://wpilib.screenstepslive.com/s/4485/m/13809 FRC/WPI Java Programming]  Full fledged menu of resources from the WPIlib folks.&lt;br /&gt;
* [https://mort11.com/downloads/mentor.wiki/Head_First_JAVA_2ed.pdf Head First Java, 2nd Ed] A book on Java (pdf)&lt;br /&gt;
* [https://resources.oreilly.com/examples/9780596009205.git Code for the ''Head First Java'' book, above]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [http://wpilib.screenstepslive.com/s/currentCS/m/java/l/272787-frc-java-wpilib-api-documentation FRC/WPI About local javadocs]&lt;br /&gt;
* [http://wpilib.screenstepslive.com/s/currentCS/m/java/l/837061-c-java-plugin-changelog FRC Java Plugin Changelog]  Useful to see what has changed in WPI lib since last year.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Dude, Where's my Included Libraries (JAR Files) ==&lt;br /&gt;
JAR files are included as 'external libraries' in the code.&lt;br /&gt;
This is managed through [https://gradle.org/guides/#getting-started gradle].&lt;br /&gt;
These files are all included with the build and managed in the &amp;lt;code&amp;gt;build.gradle&amp;lt;/code&amp;gt; file.  Check it out. &lt;br /&gt;
----&lt;br /&gt;
Currently MORT code manages all libraries using this technique.&lt;br /&gt;
In &amp;lt;code&amp;gt;build.gradle&amp;lt;/code&amp;gt;, this is managed by this block:&lt;br /&gt;
 // Defining my dependencies. In this case, WPILib (+ friends), CTRE Phoenix (Talon SRX)&lt;br /&gt;
 // and NavX.&lt;br /&gt;
 dependencies {&lt;br /&gt;
    compile wpilib()&lt;br /&gt;
    compile ctre()&lt;br /&gt;
    compile navx()&lt;br /&gt;
    compile openrio.powerup.matchData()&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
== Tutorial Videos ==&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/playlist?list=PLUSdSy9CkwBIiISFMa_ThWmtFCKtYLUE_ FRC Java Command-based Programming Tutorial Playlist (1.5 hrs)]&lt;br /&gt;
&lt;br /&gt;
* FRC Java Programming Tutorial Part 1: Project Setup&lt;br /&gt;
* FRC Java Programming Tutorial Part 2: Basic Drivebase&lt;br /&gt;
* FRC Java Programming Tutorial Part 3: Setting up Tank Drive Controls&lt;br /&gt;
* FRC Java Programming Tutorial Part 4: How to use TalonSRXs&lt;br /&gt;
* FRC Java Programming Tutorial Part 5: Version Control&lt;br /&gt;
* FRC Java Programming Tutorial Part 6: WPILIB PID&lt;br /&gt;
&lt;br /&gt;
Note: when watching the videos, you should stop and look through the code that is discussed. Some minor items (such as imports) are glossed over.  For example, if you have unreferenced calls in your code, compare the code on screen with what you have - you may have to import an additional library.  Hover over unresolved items.  Usually, you want to import the correct library.&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Java&amp;diff=551</id>
		<title>Java</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Java&amp;diff=551"/>
		<updated>2018-10-26T02:39:41Z</updated>

		<summary type="html">&lt;p&gt;Jolup: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== About ==&lt;br /&gt;
Java is the language we use primarily to program the FRC robots.  It is a general purpose, object oriented programming language that can do almost any variety of tasks.  It works hand-in-hand with WPI Lib to control the robot.  &lt;br /&gt;
&lt;br /&gt;
WPI Lib is the set of libraries - low level software designed to control the hardware - that interfaces with sensors and outputs, and interfaces with elements of the FRC ''Field'' such as start and stop signals.  Our Java programs need to include the WPI libraries and make calls to the Apllication Programming Interface (API) WPI Lib provides.&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
* [https://wpilib.screenstepslive.com/s/currentCS/m/java/l/599681-installing-eclipse-c-java Getting Java with Eclipse]&lt;br /&gt;
&lt;br /&gt;
Or manually with another IDE:&lt;br /&gt;
&lt;br /&gt;
* [https://www.oracle.com/technetwork/es/java/javase/downloads/jdk8-downloads-2133151.html?printOnly=1 Get JDK 8]&lt;br /&gt;
* [https://java.com/en/download/ Get Java]&lt;br /&gt;
* [https://plugins.jetbrains.com/plugin/9405-frc WPILib/FRC Plug-in for IntelliJ] if using IntelliJ you may need this?? (TBD)&lt;br /&gt;
&lt;br /&gt;
== Documents, Guides, and References ==&lt;br /&gt;
&lt;br /&gt;
* [http://first.wpi.edu/FRC/roborio/release/docs/java/ '''Java/WPI Lib Reference''']&lt;br /&gt;
* [https://wpilib.screenstepslive.com/s/4485/m/13809 FRC/WPI Java Programming]  Full fledged menu of resources from the WPIlib folks.&lt;br /&gt;
* [https://mort11.com/downloads/mentor.wiki/Head_First_JAVA_2ed.pdf Head First Java, 2nd Ed] A book on Java (pdf)&lt;br /&gt;
* [https://resources.oreilly.com/examples/9780596009205.git Code for the ''Head First Java'' book, above]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [http://wpilib.screenstepslive.com/s/currentCS/m/java/l/272787-frc-java-wpilib-api-documentation FRC/WPI About local javadocs]&lt;br /&gt;
* [http://wpilib.screenstepslive.com/s/currentCS/m/java/l/837061-c-java-plugin-changelog FRC Java Plugin Changelog]  Useful to see what has changed in WPI lib since last year.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Dude, Where's my libraries (JAR Files) ==&lt;br /&gt;
JAR files are included as 'external libraries' in the code.&lt;br /&gt;
This is managed through [https://gradle.org/guides/#getting-started gradle].&lt;br /&gt;
These files are all included with the build and managed in the &amp;lt;code&amp;gt;build.gradle&amp;lt;/code&amp;gt; file.  Check it out. &lt;br /&gt;
----&lt;br /&gt;
Currently MORT code manages all libraries using this technique.&lt;br /&gt;
In &amp;lt;code&amp;gt;build.gradle&amp;lt;/code&amp;gt;, this is managed by this block:&lt;br /&gt;
 // Defining my dependencies. In this case, WPILib (+ friends), CTRE Phoenix (Talon SRX)&lt;br /&gt;
 // and NavX.&lt;br /&gt;
 dependencies {&lt;br /&gt;
    compile wpilib()&lt;br /&gt;
    compile ctre()&lt;br /&gt;
    compile navx()&lt;br /&gt;
    compile openrio.powerup.matchData()&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
== Tutorial Videos ==&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/playlist?list=PLUSdSy9CkwBIiISFMa_ThWmtFCKtYLUE_ FRC Java Command-based Programming Tutorial Playlist (1.5 hrs)]&lt;br /&gt;
&lt;br /&gt;
* FRC Java Programming Tutorial Part 1: Project Setup&lt;br /&gt;
* FRC Java Programming Tutorial Part 2: Basic Drivebase&lt;br /&gt;
* FRC Java Programming Tutorial Part 3: Setting up Tank Drive Controls&lt;br /&gt;
* FRC Java Programming Tutorial Part 4: How to use TalonSRXs&lt;br /&gt;
* FRC Java Programming Tutorial Part 5: Version Control&lt;br /&gt;
* FRC Java Programming Tutorial Part 6: WPILIB PID&lt;br /&gt;
&lt;br /&gt;
Note: when watching the videos, you should stop and look through the code that is discussed. Some minor items (such as imports) are glossed over.  For example, if you have unreferenced calls in your code, compare the code on screen with what you have - you may have to import an additional library.  Hover over unresolved items.  Usually, you want to import the correct library.&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Git_Notes&amp;diff=542</id>
		<title>Git Notes</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Git_Notes&amp;diff=542"/>
		<updated>2018-10-24T00:53:59Z</updated>

		<summary type="html">&lt;p&gt;Jolup: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Intro ===&lt;br /&gt;
Notes that describe Git repo creation, usage, maintenance,&lt;br /&gt;
&lt;br /&gt;
The idea is that you can see the commands commonly used to work within command line git and what they do with an actual repository and code....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Initialization ===&lt;br /&gt;
&lt;br /&gt;
Initialize a bare repo (alternative to cloning or pulling). &lt;br /&gt;
Use git config to check and change your side of the repo.  Can set many parameters. A few are shown in the git config section.&lt;br /&gt;
&lt;br /&gt;
After you make changes you should list the changes to view them for accuracy....&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git init --bare	creates repo in this directory root&lt;br /&gt;
&lt;br /&gt;
git config	- add tags to data&lt;br /&gt;
		--global user.name &amp;quot;your name&amp;quot;&lt;br /&gt;
		--global user.email jolup@lgsinnovations.com&lt;br /&gt;
		--global core.editor emacs&lt;br /&gt;
	&lt;br /&gt;
git config --list   // check settings&lt;br /&gt;
git config user.name  // return user name&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Stage your files ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git add &amp;lt;file path from root of repo&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Check status of what's staged ===&lt;br /&gt;
Once staged, you should have &amp;quot;Changes to be committed&amp;quot; with list of new files you may have &amp;quot;Untracked files&amp;quot; listing; this should be empty.  Everything in repo should be worthy of tracking.  If not, move or destroy the extra files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
		EX &amp;quot;git status&amp;quot; returns:&lt;br /&gt;
		# On branch master&lt;br /&gt;
		#&lt;br /&gt;
		# Initial commit&lt;br /&gt;
		#&lt;br /&gt;
		# Changes to be committed:&lt;br /&gt;
		#   (use &amp;quot;git rm --cached &amp;lt;file&amp;gt;...&amp;quot; to unstage)&lt;br /&gt;
		#&lt;br /&gt;
		#	new file:   components/AHB_bus.vhd&lt;br /&gt;
		#	new file:   components/AHB_bus_wrapper.vhd&lt;br /&gt;
		#	new file:   cpld_slave_wave.do&lt;br /&gt;
		#	new file:   cpld_wave.do&lt;br /&gt;
		#	new file:   make_ver.tcl&lt;br /&gt;
		#	new file:   modelsim.ini&lt;br /&gt;
		#	new file:   run_cpld_simulation.do&lt;br /&gt;
		#	new file:   src/SataMux_FPGA_01.vhd&lt;br /&gt;
		#	new file:   src/SataMux_FPGA_01_DEBUG1.vhd&lt;br /&gt;
		#	new file:   src/cpld_top.vhd&lt;br /&gt;
		#	new file:   src/cpld_types_pkg.vhd&lt;br /&gt;
		#	new file:   src/functions_pkg.vhd&lt;br /&gt;
		#	new file:   src/qspi_slave_ahb.vhd&lt;br /&gt;
		#	new file:   src/qspi_slave_ahb_r2.vhd&lt;br /&gt;
		#	new file:   src/qspi_slave_ahb_r3.vhd&lt;br /&gt;
		#	new file:   src/spi_slave.vhd&lt;br /&gt;
		#	new file:   src/test_01.vhd&lt;br /&gt;
		#	new file:   src/types_pkg.vhd&lt;br /&gt;
		#	new file:   src/version_pkg.vhd&lt;br /&gt;
		#	new file:   src/wftp_cpld_r0.vhd&lt;br /&gt;
		#	new file:   tb/AHB_bus_wrapper_sim.vhd&lt;br /&gt;
		#	new file:   tb/AHB_bus_wrapper_sim_breakout.vhd&lt;br /&gt;
		#	new file:   tb/SataMux_FPGA_01.vhd&lt;br /&gt;
		#	new file:   tb/SataMux_FPGA_01_DEBUG1.vhd&lt;br /&gt;
		#	new file:   tb/clkgen.v&lt;br /&gt;
		#	new file:   tb/cpld_qspi_tb.v&lt;br /&gt;
		#	new file:   tb/cpld_tb.v&lt;br /&gt;
		#	new file:   tb/cpld_tb_non_ahb.v&lt;br /&gt;
		#	new file:   tb/functions_pkg.vhd&lt;br /&gt;
		#	new file:   tb/qspi_master_bfm.v&lt;br /&gt;
		#	new file:   tb/qspi_slave_ahb.vhd&lt;br /&gt;
		#	new file:   tb/simple_slave.vhd&lt;br /&gt;
		#	new file:   tb/spi_slave.vhd&lt;br /&gt;
		#	new file:   tb/test_01.vhd&lt;br /&gt;
		#	new file:   tb/test_operations.v&lt;br /&gt;
		#	new file:   tb/types_pkg.vhd&lt;br /&gt;
		#	new file:   tb/user_logic.vhd&lt;br /&gt;
		#	new file:   tb/version_pkg.vhd&lt;br /&gt;
		#	new file:   tb/wftp_cpld_r0.vhd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Now commit files ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git commit -m 'Initial CPLD project commit'&lt;br /&gt;
	[master (root-commit) bf88314] Initial CPLD project commit&lt;br /&gt;
	 39 files changed, 14089 insertions(+)&lt;br /&gt;
	 create mode 100755 components/AHB_bus.vhd&lt;br /&gt;
	 create mode 100644 components/AHB_bus_wrapper.vhd&lt;br /&gt;
	 create mode 100755 cpld_slave_wave.do&lt;br /&gt;
	 create mode 100755 cpld_wave.do&lt;br /&gt;
	 create mode 100755 make_ver.tcl&lt;br /&gt;
	 create mode 100644 modelsim.ini&lt;br /&gt;
	 create mode 100755 run_cpld_simulation.do&lt;br /&gt;
	 create mode 100755 src/SataMux_FPGA_01.vhd&lt;br /&gt;
	 create mode 100755 src/SataMux_FPGA_01_DEBUG1.vhd&lt;br /&gt;
	 create mode 100644 src/cpld_top.vhd&lt;br /&gt;
	 create mode 100644 src/cpld_types_pkg.vhd&lt;br /&gt;
	 create mode 100755 src/functions_pkg.vhd&lt;br /&gt;
	 create mode 100755 src/qspi_slave_ahb.vhd&lt;br /&gt;
	 create mode 100755 src/qspi_slave_ahb_r2.vhd&lt;br /&gt;
	 create mode 100644 src/qspi_slave_ahb_r3.vhd&lt;br /&gt;
	 create mode 100755 src/spi_slave.vhd&lt;br /&gt;
	 create mode 100755 src/test_01.vhd&lt;br /&gt;
	 create mode 100755 src/types_pkg.vhd&lt;br /&gt;
	 create mode 100755 src/version_pkg.vhd&lt;br /&gt;
	 create mode 100755 src/wftp_cpld_r0.vhd&lt;br /&gt;
	 create mode 100644 tb/AHB_bus_wrapper_sim.vhd&lt;br /&gt;
	 create mode 100644 tb/AHB_bus_wrapper_sim_breakout.vhd&lt;br /&gt;
	 create mode 100755 tb/SataMux_FPGA_01.vhd&lt;br /&gt;
	 create mode 100755 tb/SataMux_FPGA_01_DEBUG1.vhd&lt;br /&gt;
	 create mode 100755 tb/clkgen.v&lt;br /&gt;
	 create mode 100644 tb/cpld_qspi_tb.v&lt;br /&gt;
	 create mode 100755 tb/cpld_tb.v&lt;br /&gt;
	 create mode 100755 tb/cpld_tb_non_ahb.v&lt;br /&gt;
	 create mode 100755 tb/functions_pkg.vhd&lt;br /&gt;
	 create mode 100755 tb/qspi_master_bfm.v&lt;br /&gt;
	 create mode 100755 tb/qspi_slave_ahb.vhd&lt;br /&gt;
	 create mode 100755 tb/simple_slave.vhd&lt;br /&gt;
	 create mode 100755 tb/spi_slave.vhd&lt;br /&gt;
	 create mode 100755 tb/test_01.vhd&lt;br /&gt;
	 create mode 100755 tb/test_operations.v&lt;br /&gt;
	 create mode 100755 tb/types_pkg.vhd&lt;br /&gt;
	 create mode 100755 tb/user_logic.vhd&lt;br /&gt;
	 create mode 100755 tb/version_pkg.vhd&lt;br /&gt;
	 create mode 100755 tb/wftp_cpld_r0.vhd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Having established the repo, clone it to work with it.&lt;br /&gt;
&lt;br /&gt;
From my perspective, on your working laptop:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone cpld_git_repo  working    // checkout the repo to the 'working' directory.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
FEW HOURS LATER, (after a bunch of code changes and test) you have a happy point where you should check in code.&lt;br /&gt;
&lt;br /&gt;
So status the repo, then see below to status it with less verbosity. Add the files, commit and push as shown:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Status the working directory ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ cd working&lt;br /&gt;
	bash-4.2$ git status&lt;br /&gt;
	# On branch master&lt;br /&gt;
	# Changes not staged for commit:&lt;br /&gt;
	#   (use &amp;quot;git add &amp;lt;file&amp;gt;...&amp;quot; to update what will be committed)&lt;br /&gt;
	#   (use &amp;quot;git checkout -- &amp;lt;file&amp;gt;...&amp;quot; to discard changes in working directory)&lt;br /&gt;
	#&lt;br /&gt;
	#	modified:   cpld_wave.do&lt;br /&gt;
	#	modified:   tb/cpld_qspi_tb.v&lt;br /&gt;
	#	modified:   tb/qspi_master_bfm.v&lt;br /&gt;
	#	modified:   tb/test_operations.v&lt;br /&gt;
	#&lt;br /&gt;
	no changes added to commit (use &amp;quot;git add&amp;quot; and/or &amp;quot;git commit -a&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you get used to status, you don't need the verbosity, use -s:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git status -s&lt;br /&gt;
	 M cpld_wave.do&lt;br /&gt;
	 M tb/cpld_qspi_tb.v&lt;br /&gt;
	 M tb/qspi_master_bfm.v&lt;br /&gt;
	 M tb/test_operations.v&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Determine differences between checkout and repo ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git diff&lt;br /&gt;
	&amp;lt;file by file, line by line&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Stage files to be committed ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git add  tb/*.v&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Verify staging (subtle with the -s status).  The indented M is modified file that is not the 'M' files that are not indented (aside from tab) are staged.  Add the waveform viewer.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git status -s&lt;br /&gt;
	 M cpld_wave.do&lt;br /&gt;
	M  tb/cpld_qspi_tb.v&lt;br /&gt;
	M  tb/qspi_master_bfm.v&lt;br /&gt;
	M  tb/test_operations.v&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
How long form status is (note all are staged now):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git add cpld_wave.do &lt;br /&gt;
	bash-4.2$ git status&lt;br /&gt;
	# On branch master&lt;br /&gt;
	# Changes to be committed:&lt;br /&gt;
	#   (use &amp;quot;git reset HEAD &amp;lt;file&amp;gt;...&amp;quot; to unstage)&lt;br /&gt;
	#&lt;br /&gt;
	#	modified:   cpld_wave.do&lt;br /&gt;
	#	modified:   tb/cpld_qspi_tb.v&lt;br /&gt;
	#	modified:   tb/qspi_master_bfm.v&lt;br /&gt;
	#	modified:   tb/test_operations.v&lt;br /&gt;
	#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since files are staged you can commit changes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A text file comes up, where you can write commit notes.  this files is git status just before commit.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	bash-4.2$ git commit&lt;br /&gt;
	[master 0c80bfb] Added mode to qspi_master_bfm. Corrected functionality for cpld_qspi_tb. Current functionality includes correct register writes / reads using synthesis-proven top level CPLD code. Testbench (cpld_qspi_tb) verified register read / write. JJO 12.22&lt;br /&gt;
	 4 files changed, 111 insertions(+), 92 deletions(-)&lt;br /&gt;
	 rewrite cpld_wave.do (78%)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, in working dir, status comes up blank.  commit complete.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash-4.2$ git status&lt;br /&gt;
# On branch master&lt;br /&gt;
# Your branch is ahead of 'origin/master' by 1 commit.&lt;br /&gt;
#   (use &amp;quot;git push&amp;quot; to publish your local commits)&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nothing to commit, working directory clean  '''TBD FORMATTING FOR BELOW SECTION'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash-4.2$ git push&lt;br /&gt;
warning: push.default is unset; its implicit value is changing in&lt;br /&gt;
Git 2.0 from 'matching' to 'simple'. To squelch this message&lt;br /&gt;
and maintain the current behavior after the default changes, use:&lt;br /&gt;
&lt;br /&gt;
  git config --global push.default matching&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To squelch this message and adopt the new behavior now, use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  git config --global push.default simple&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See 'git help config' and search for 'push.default' for further information.&lt;br /&gt;
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode&lt;br /&gt;
'current' instead of 'simple' if you sometimes use older versions of Git)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Counting objects: 38, done.&lt;br /&gt;
Delta compression using up to 40 threads.&lt;br /&gt;
Compressing objects: 100% (26/26), done.&lt;br /&gt;
Writing objects: 100% (26/26), 30.43 KiB | 0 bytes/s, done.&lt;br /&gt;
Total 26 (delta 12), reused 0 (delta 0)&lt;br /&gt;
To /home/jolup/work/wftp/igloo_cpld_design/cpld_git_repo/&lt;br /&gt;
   af3b682..5d0932d  master -&amp;gt; master&lt;br /&gt;
bash-4.2$ git status&lt;br /&gt;
# On branch master&lt;br /&gt;
nothing to commit, working directory clean&lt;br /&gt;
bash-4.2$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
gitk = nice TK interface to view diffs, look at versions based on sha1.  In repo root, simply run gitk.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt; gitk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You want to revert to an older version?  No problem&lt;br /&gt;
&lt;br /&gt;
First, status the repo (working or master)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash-4.2$ git log --oneline&lt;br /&gt;
&lt;br /&gt;
af3b682 01.21.2015  jjo   Added debug ports to the top level fpga.     committing the design constraints, top level and slave file.     The CPLD is reacting&lt;br /&gt;
d8ac067 jjo 01.20.15   Corrected physical constraints on the QPSI interface.                  -- changed to LVCMOS33 from TTL                  -- slowed ske&lt;br /&gt;
6494da3 Added non debug design files - forgot to stage these.&lt;br /&gt;
fb3c3fd Added design files and constraints that capture state of the spi and bus providing them to pins. Added constraints to the repository.  Only core is &lt;br /&gt;
38b7aa2 Current testbench operation (12.30 commit - 10 AM jjo)x&lt;br /&gt;
61a93f5 12.28 jjo    - Bugfix in reg_write process, found testing swrst (problem in dummy_cycles)    - Added PLL and tested SPI at 60 MHz, CPLD at 80 MHz.  &lt;br /&gt;
cc65a7f Added command processor in qspi_slave. Extended test operations and bfm to verify transaction count, incl verification. Tested command processor (WR&lt;br /&gt;
0c80bfb Added mode to qspi_master_bfm. Corrected functionality for cpld_qspi_tb. Current functionality includes correct register writes / reads using synthe&lt;br /&gt;
bf88314 Initial CPLD project commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where you want to create a prior repo copy (can be current working, but why?), clone.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone cpld_git_repo/ cpld_git_last_commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now revert in the cpld_git_last_commit&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git checkout d8ac067&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Wrap up ===&lt;br /&gt;
&lt;br /&gt;
Above was working with local backed up but informal repos.  &lt;br /&gt;
remote repo established on ws-git (gitolite3)&lt;br /&gt;
&lt;br /&gt;
# distribute you pubkey to Pat B&lt;br /&gt;
# using git clone gitolite3@ws-git:&amp;lt;REPO&amp;gt;  (or whatever your repo is)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Programming&amp;diff=330</id>
		<title>Programming</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Programming&amp;diff=330"/>
		<updated>2018-10-04T02:54:47Z</updated>

		<summary type="html">&lt;p&gt;Jolup: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
* [[Programming - Getting Started | Getting Started - Intros and Installs]]&lt;br /&gt;
:* The IDE&lt;br /&gt;
:* Java&lt;br /&gt;
:* The RoboRIO&lt;br /&gt;
:* WIP Lib&lt;br /&gt;
:* LabVIEW and the Driver Station/Classmate&lt;br /&gt;
:* Version Control/Configuration Management - with Git&lt;br /&gt;
:* Day 1 Installs&lt;br /&gt;
&lt;br /&gt;
* [[Programming - Getting Started Tutorials | Getting Started Tutorials]]&lt;br /&gt;
:* Java - Command Based Programming&lt;br /&gt;
&lt;br /&gt;
== Additional Topics ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|[[Index of all Topics]]&lt;br /&gt;
|[[Beginner Topics]]&lt;br /&gt;
|[[Intermediate Topics]]&lt;br /&gt;
|[[Advanced Topics]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Systems ==&lt;br /&gt;
&lt;br /&gt;
:'''Limelight Camera''': [http://docs.limelightvision.io/en/latest/  Limelight documentation]&lt;br /&gt;
&lt;br /&gt;
::Created POE system for Limelight.  Takes 2.1 mm standard 'wall wart' jack and the positive terminal is the inside pin. Neg terminal is the outside sleeve.&lt;br /&gt;
::Now we easily power the system using PoE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Project Documentation ==&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Programming&amp;diff=183</id>
		<title>Programming</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Programming&amp;diff=183"/>
		<updated>2018-08-04T19:54:09Z</updated>

		<summary type="html">&lt;p&gt;Jolup: Added Java cmd based tutoria&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[Needs more hierarchy]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|[[Index of all Topics]]&lt;br /&gt;
|[[Beginner Topics]]&lt;br /&gt;
|[[Intermediate Topics]]&lt;br /&gt;
|[[Advanced Topics]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* [[FTP/SSH/SCP/PuTTY/Keys]]&lt;br /&gt;
::What they are, how they work, how use them and any FRC11 policies.&lt;br /&gt;
&lt;br /&gt;
* Tutorials  (all programmers should walk through this)&lt;br /&gt;
:: * Note: you should look through the code some minor items (imports) are glossed over&lt;br /&gt;
:: * [https://www.youtube.com/playlist?list=PLUSdSy9CkwBIiISFMa_ThWmtFCKtYLUE_  FRC Java Command-based Programming Tutorials]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Languages&lt;br /&gt;
&lt;br /&gt;
:: * [https://wpilib.screenstepslive.com/s/4485/m/13809 FRC/WPI Java]&lt;br /&gt;
&lt;br /&gt;
* [[Shells]]&lt;br /&gt;
:: Cygwin, &lt;br /&gt;
:: Bash and &lt;br /&gt;
:: PowerShell&lt;br /&gt;
&lt;br /&gt;
* [[VM technologies]]&lt;br /&gt;
:: Oracle VirtualBox, VMware/Fusion, Parallels, KVM, Xen.&lt;br /&gt;
&lt;br /&gt;
* [[Linux distributions]]&lt;br /&gt;
:: Red Hat, Debian, (X/K/L)Ubuntu, LXLE, Mint, Zorin, ChruchBase, Arch(Bang), and 'NI Linux Real-Time' (which is a rip of Red Hat Linux with modifications to preempt kernel functions to make it more realtime).&lt;br /&gt;
&lt;br /&gt;
* [[FRC controls systems]]&lt;br /&gt;
:: At least IFI to RoboRio.&lt;br /&gt;
&lt;br /&gt;
* [[Networking on the robot]]&lt;br /&gt;
:: For cRio and RoboRIO.&lt;br /&gt;
:: Also communicating with co-processors using UDP or TCP.&lt;br /&gt;
:: Plus mDNS.&lt;br /&gt;
&lt;br /&gt;
* [[I/O from WPIlib for debugging to Drivers Station (DS) and the DS logs.]]&lt;br /&gt;
&lt;br /&gt;
[[Custom USB devices on the Driver Station or digital I/O]]&lt;br /&gt;
:: Also SPI, I2C devices on the RoboRio.&lt;br /&gt;
&lt;br /&gt;
[[CameraServer to the Driver Station]]&lt;br /&gt;
:: Live video from a Logitech C920&lt;br /&gt;
:: USB cameras on Linux,&lt;br /&gt;
:: Maybe Grip and&lt;br /&gt;
:: The LimeLight&lt;br /&gt;
&lt;br /&gt;
[[Using the Kangaroo for video coprocessing]]&lt;br /&gt;
&lt;br /&gt;
[[Navigation using the Navx]]&lt;br /&gt;
&lt;br /&gt;
[[Navigation using the RoboRIO sensors]]&lt;br /&gt;
&lt;br /&gt;
[[Other RoboRIO sensors]]&lt;br /&gt;
&lt;br /&gt;
[[Talon SRX CAN features]]&lt;br /&gt;
&lt;br /&gt;
[[PID loops in the RoboRio]]&lt;br /&gt;
&lt;br /&gt;
[[PID loops in the Talons]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Programming&amp;diff=182</id>
		<title>Programming</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Programming&amp;diff=182"/>
		<updated>2018-08-04T19:51:17Z</updated>

		<summary type="html">&lt;p&gt;Jolup: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[Needs more hierarchy]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|[[Index of all Topics]]&lt;br /&gt;
|[[Beginner Topics]]&lt;br /&gt;
|[[Intermediate Topics]]&lt;br /&gt;
|[[Advanced Topics]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* [[FTP/SSH/SCP/PuTTY/Keys]]&lt;br /&gt;
::What they are, how they work, how use them and any FRC11 policies.&lt;br /&gt;
&lt;br /&gt;
* Tutorials  (all kids should walk through this)&lt;br /&gt;
:: * [https://www.youtube.com/playlist?list=PLUSdSy9CkwBIiISFMa_ThWmtFCKtYLUE_  FRC Java Command-based Programming Tutorials]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Languages&lt;br /&gt;
&lt;br /&gt;
:: * [https://wpilib.screenstepslive.com/s/4485/m/13809 FRC/WPI Java]&lt;br /&gt;
&lt;br /&gt;
* [[Shells]]&lt;br /&gt;
:: Cygwin, &lt;br /&gt;
:: Bash and &lt;br /&gt;
:: PowerShell&lt;br /&gt;
&lt;br /&gt;
* [[VM technologies]]&lt;br /&gt;
:: Oracle VirtualBox, VMware/Fusion, Parallels, KVM, Xen.&lt;br /&gt;
&lt;br /&gt;
* [[Linux distributions]]&lt;br /&gt;
:: Red Hat, Debian, (X/K/L)Ubuntu, LXLE, Mint, Zorin, ChruchBase, Arch(Bang), and 'NI Linux Real-Time' (which is a rip of Red Hat Linux with modifications to preempt kernel functions to make it more realtime).&lt;br /&gt;
&lt;br /&gt;
* [[FRC controls systems]]&lt;br /&gt;
:: At least IFI to RoboRio.&lt;br /&gt;
&lt;br /&gt;
* [[Networking on the robot]]&lt;br /&gt;
:: For cRio and RoboRIO.&lt;br /&gt;
:: Also communicating with co-processors using UDP or TCP.&lt;br /&gt;
:: Plus mDNS.&lt;br /&gt;
&lt;br /&gt;
* [[I/O from WPIlib for debugging to Drivers Station (DS) and the DS logs.]]&lt;br /&gt;
&lt;br /&gt;
[[Custom USB devices on the Driver Station or digital I/O]]&lt;br /&gt;
:: Also SPI, I2C devices on the RoboRio.&lt;br /&gt;
&lt;br /&gt;
[[CameraServer to the Driver Station]]&lt;br /&gt;
:: Live video from a Logitech C920&lt;br /&gt;
:: USB cameras on Linux,&lt;br /&gt;
:: Maybe Grip and&lt;br /&gt;
:: The LimeLight&lt;br /&gt;
&lt;br /&gt;
[[Using the Kangaroo for video coprocessing]]&lt;br /&gt;
&lt;br /&gt;
[[Navigation using the Navx]]&lt;br /&gt;
&lt;br /&gt;
[[Navigation using the RoboRIO sensors]]&lt;br /&gt;
&lt;br /&gt;
[[Other RoboRIO sensors]]&lt;br /&gt;
&lt;br /&gt;
[[Talon SRX CAN features]]&lt;br /&gt;
&lt;br /&gt;
[[PID loops in the RoboRio]]&lt;br /&gt;
&lt;br /&gt;
[[PID loops in the Talons]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
	<entry>
		<id>https://mort11.com/mentor.wiki/index.php?title=Programming&amp;diff=181</id>
		<title>Programming</title>
		<link rel="alternate" type="text/html" href="https://mort11.com/mentor.wiki/index.php?title=Programming&amp;diff=181"/>
		<updated>2018-08-04T19:50:47Z</updated>

		<summary type="html">&lt;p&gt;Jolup: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[Needs more hierarchy]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|[[Index of all Topics]]&lt;br /&gt;
|[[Beginner Topics]]&lt;br /&gt;
|[[Intermediate Topics]]&lt;br /&gt;
|[[Advanced Topics]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* [[FTP/SSH/SCP/PuTTY/Keys]]&lt;br /&gt;
::What they are, how they work, how use them and any FRC11 policies.&lt;br /&gt;
&lt;br /&gt;
* Tutorials  (all kids should walk through this)&lt;br /&gt;
:: * [https://www.youtube.com/playlist?list=PLUSdSy9CkwBIiISFMa_ThWmtFCKtYLUE_  FRC Java Programming Tutorials]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Languages&lt;br /&gt;
&lt;br /&gt;
:: * [https://wpilib.screenstepslive.com/s/4485/m/13809 FRC/WPI Java]&lt;br /&gt;
&lt;br /&gt;
* [[Shells]]&lt;br /&gt;
:: Cygwin, &lt;br /&gt;
:: Bash and &lt;br /&gt;
:: PowerShell&lt;br /&gt;
&lt;br /&gt;
* [[VM technologies]]&lt;br /&gt;
:: Oracle VirtualBox, VMware/Fusion, Parallels, KVM, Xen.&lt;br /&gt;
&lt;br /&gt;
* [[Linux distributions]]&lt;br /&gt;
:: Red Hat, Debian, (X/K/L)Ubuntu, LXLE, Mint, Zorin, ChruchBase, Arch(Bang), and 'NI Linux Real-Time' (which is a rip of Red Hat Linux with modifications to preempt kernel functions to make it more realtime).&lt;br /&gt;
&lt;br /&gt;
* [[FRC controls systems]]&lt;br /&gt;
:: At least IFI to RoboRio.&lt;br /&gt;
&lt;br /&gt;
* [[Networking on the robot]]&lt;br /&gt;
:: For cRio and RoboRIO.&lt;br /&gt;
:: Also communicating with co-processors using UDP or TCP.&lt;br /&gt;
:: Plus mDNS.&lt;br /&gt;
&lt;br /&gt;
* [[I/O from WPIlib for debugging to Drivers Station (DS) and the DS logs.]]&lt;br /&gt;
&lt;br /&gt;
[[Custom USB devices on the Driver Station or digital I/O]]&lt;br /&gt;
:: Also SPI, I2C devices on the RoboRio.&lt;br /&gt;
&lt;br /&gt;
[[CameraServer to the Driver Station]]&lt;br /&gt;
:: Live video from a Logitech C920&lt;br /&gt;
:: USB cameras on Linux,&lt;br /&gt;
:: Maybe Grip and&lt;br /&gt;
:: The LimeLight&lt;br /&gt;
&lt;br /&gt;
[[Using the Kangaroo for video coprocessing]]&lt;br /&gt;
&lt;br /&gt;
[[Navigation using the Navx]]&lt;br /&gt;
&lt;br /&gt;
[[Navigation using the RoboRIO sensors]]&lt;br /&gt;
&lt;br /&gt;
[[Other RoboRIO sensors]]&lt;br /&gt;
&lt;br /&gt;
[[Talon SRX CAN features]]&lt;br /&gt;
&lt;br /&gt;
[[PID loops in the RoboRio]]&lt;br /&gt;
&lt;br /&gt;
[[PID loops in the Talons]]&lt;/div&gt;</summary>
		<author><name>Jolup</name></author>
	</entry>
</feed>