origen_link 0.2.0.pre0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
- # You can define any Rake tasks to support your application here (or in any file
2
- # ending in .rake in this directory).
3
- #
4
- # Rake (Ruby Make) is very useful for creating build scripts, see this short video
5
- # for a quick introduction:
6
- # http://railscasts.com/episodes/66-custom-rake-tasks
1
+ # You can define any Rake tasks to support your application here (or in any file
2
+ # ending in .rake in this directory).
3
+ #
4
+ # Rake (Ruby Make) is very useful for creating build scripts, see this short video
5
+ # for a quick introduction:
6
+ # http://railscasts.com/episodes/66-custom-rake-tasks
@@ -1,4 +1,4 @@
1
- Pattern.create do
2
- # Call controller methods from here...
3
- # $dut.atd.convert
4
- end
1
+ Pattern.create do
2
+ # Call controller methods from here...
3
+ # $dut.atd.convert
4
+ end
@@ -1,23 +1,23 @@
1
- Pattern.create(options={:name => "JTAG_CaptureID"})do
2
- $dut.jtag.reset
3
- $dut.jtag.idle
4
- ss "reading default ID"
5
- $dut.reg(:testreg).bits(31..0).store
6
- default_id = tester.capture {$dut.jtag.read_dr $dut.reg(:testreg), size: 32 }
7
- default_id_str = default_id[0].to_s(2)
8
- default_id_str.reverse!
9
- default_id = default_id_str.to_i(2)
10
- puts '**************************************************'
11
- puts 'Captured default ID through JTAG: 0x' + default_id.to_s(16)
12
- puts '**************************************************'
13
- $dut.jtag.write_ir 0, size: 4
14
- ss "reading JTAG ID"
15
- $dut.reg(:testreg).bits(31..0).store
16
- jtag_id = tester.capture {$dut.jtag.read_dr $dut.reg(:testreg), size: 32 }
17
- jtag_id_str = jtag_id[0].to_s(2)
18
- jtag_id_str.reverse!
19
- jtag_id = jtag_id_str.to_i(2)
20
- puts '**************************************************'
21
- puts 'Captured JTAG ID: 0x' + jtag_id.to_s(16)
22
- puts '**************************************************'
1
+ Pattern.create(options={:name => "JTAG_CaptureID"})do
2
+ $dut.jtag.reset
3
+ $dut.jtag.idle
4
+ ss "reading default ID"
5
+ $dut.reg(:testreg).bits(31..0).store
6
+ default_id = tester.capture {$dut.jtag.read_dr $dut.reg(:testreg), size: 32 }
7
+ default_id_str = default_id[0].to_s(2)
8
+ default_id_str.reverse!
9
+ default_id = default_id_str.to_i(2)
10
+ puts '**************************************************'
11
+ puts 'Captured default ID through JTAG: 0x' + default_id.to_s(16)
12
+ puts '**************************************************'
13
+ $dut.jtag.write_ir 0, size: 4
14
+ ss "reading JTAG ID"
15
+ $dut.reg(:testreg).bits(31..0).store
16
+ jtag_id = tester.capture {$dut.jtag.read_dr $dut.reg(:testreg), size: 32 }
17
+ jtag_id_str = jtag_id[0].to_s(2)
18
+ jtag_id_str.reverse!
19
+ jtag_id = jtag_id_str.to_i(2)
20
+ puts '**************************************************'
21
+ puts 'Captured JTAG ID: 0x' + jtag_id.to_s(16)
22
+ puts '**************************************************'
23
23
  end
@@ -1,19 +1,19 @@
1
- Pattern.create(options={:name => "transaction_test"})do
2
- $dut.jtag.reset
3
- $dut.jtag.idle
4
- ss "reading Halo debugger ID - setting correct compare value"
5
- result = tester.transaction do
6
- $dut.reg(:testreg).read(0x5ba00477)
7
- $dut.jtag.read_dr $dut.reg(:testreg), size: 32
8
- end
9
- result_comment = "transaction result: #{result}"
10
- ss result_comment
11
-
12
- ss "reading Halo debugger ID - setting wrong compare value"
13
- result = tester.transaction do
14
- $dut.reg(:testreg).read(0x5bd00477)
15
- $dut.jtag.read_dr $dut.reg(:testreg), size: 32
16
- end
17
- result_comment = "transaction result: #{result}"
18
- ss result_comment
1
+ Pattern.create(options={:name => "transaction_test"})do
2
+ $dut.jtag.reset
3
+ $dut.jtag.idle
4
+ ss "reading Halo debugger ID - setting correct compare value"
5
+ result = tester.transaction do
6
+ $dut.reg(:testreg).read(0x5ba00477)
7
+ $dut.jtag.read_dr $dut.reg(:testreg), size: 32
8
+ end
9
+ result_comment = "transaction result: #{result}"
10
+ ss result_comment
11
+
12
+ ss "reading Halo debugger ID - setting wrong compare value"
13
+ result = tester.transaction do
14
+ $dut.reg(:testreg).read(0x5bd00477)
15
+ $dut.jtag.read_dr $dut.reg(:testreg), size: 32
16
+ end
17
+ result_comment = "transaction result: #{result}"
18
+ ss result_comment
19
19
  end
@@ -1,25 +1,25 @@
1
- % render "layouts/basic.html" do
2
-
3
- %# HTML tags can be embedded in mark down files if you want to do specific custom
4
- %# formatting like this, but in most cases that is not required.
5
- <h1><%= Origen.app.namespace %> <span style="font-size: 14px">(<%= Origen.app.version %>)</span></h1>
6
-
7
- ### Purpose
8
-
9
- This is a plug-in for Origen that enables live silicon debug directly from origen source.
10
-
11
- ### How To Use
12
-
13
- Add the following line to your application's GEMFILE:
14
-
15
- * gem 'origen_link'
16
-
17
- Add the following line to your application:
18
-
19
- * require 'origen_link'
20
-
21
- ### How To Setup the Application Environment
22
-
23
- Describe how a user would setup a new workspace for this application...
24
-
25
- % end
1
+ % render "layouts/basic.html" do
2
+
3
+ %# HTML tags can be embedded in mark down files if you want to do specific custom
4
+ %# formatting like this, but in most cases that is not required.
5
+ <h1><%= Origen.app.namespace %> <span style="font-size: 14px">(<%= Origen.app.version %>)</span></h1>
6
+
7
+ ### Purpose
8
+
9
+ This is a plug-in for Origen that enables live silicon debug directly from origen source.
10
+
11
+ ### How To Use
12
+
13
+ Add the following line to your application's GEMFILE:
14
+
15
+ * gem 'origen_link'
16
+
17
+ Add the following line to your application:
18
+
19
+ * require 'origen_link'
20
+
21
+ ### How To Setup the Application Environment
22
+
23
+ Describe how a user would setup a new workspace for this application...
24
+
25
+ % end
@@ -1,13 +1,13 @@
1
- ---
2
- title: <%= options[:title] || Origen.config.name %>
3
- ---
4
- <%= render "partials/navbar.html", tab: options[:tab] %>
5
-
6
- <div class="row">
7
- %# The markdown attribute is important if you are going to include content written
8
- %# in markdown, without this is will be included verbatim
9
- <div class="span12" markdown="1">
10
- <%= yield %>
11
-
12
- </div>
13
- </div>
1
+ ---
2
+ title: <%= options[:title] || Origen.config.name %>
3
+ ---
4
+ <%= render "partials/navbar.html", tab: options[:tab] %>
5
+
6
+ <div class="row">
7
+ %# The markdown attribute is important if you are going to include content written
8
+ %# in markdown, without this is will be included verbatim
9
+ <div class="span12" markdown="1">
10
+ <%= yield %>
11
+
12
+ </div>
13
+ </div>
@@ -1,20 +1,20 @@
1
- <nav class="navbar navbar-inverse navbar-fixed-top">
2
- <div class="container">
3
- <div class="navbar-header">
4
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
5
- <span class="sr-only">Toggle navigation</span>
6
- <span class="icon-bar"></span>
7
- <span class="icon-bar"></span>
8
- <span class="icon-bar"></span>
9
- </button>
10
- <a class="navbar-brand" href="<%= path "/" %>">Home</a>
11
- </div>
12
- <div id="navbar" class="collapse navbar-collapse">
13
- <ul class="nav navbar-nav">
14
- <li class="<%= options[:tab] == :api ? 'active' : '' %>"><a href="<%= path "/api/" %>">API</a></li>
15
- <li class="<%= options[:tab] == :release ? 'active' : '' %>"><a href="<%= path "/release_notes" %>">Release Notes</a></li>
16
- </ul>
17
- <%= import "origen/web/logo.html" %>
18
- </div><!--/.nav-collapse -->
19
- </div>
20
- </nav>
1
+ <nav class="navbar navbar-inverse navbar-fixed-top">
2
+ <div class="container">
3
+ <div class="navbar-header">
4
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
5
+ <span class="sr-only">Toggle navigation</span>
6
+ <span class="icon-bar"></span>
7
+ <span class="icon-bar"></span>
8
+ <span class="icon-bar"></span>
9
+ </button>
10
+ <a class="navbar-brand" href="<%= path "/" %>">Home</a>
11
+ </div>
12
+ <div id="navbar" class="collapse navbar-collapse">
13
+ <ul class="nav navbar-nav">
14
+ <li class="<%= options[:tab] == :api ? 'active' : '' %>"><a href="<%= path "/api/" %>">API</a></li>
15
+ <li class="<%= options[:tab] == :release ? 'active' : '' %>"><a href="<%= path "/release_notes" %>">Release Notes</a></li>
16
+ </ul>
17
+ <%= import "origen/web/logo.html" %>
18
+ </div><!--/.nav-collapse -->
19
+ </div>
20
+ </nav>
@@ -1,5 +1,5 @@
1
- % render "layouts/basic.html", tab: :release do
2
-
3
- <%= render "#{Origen.root}/doc/history" %>
4
-
5
- % end
1
+ % render "layouts/basic.html", tab: :release do
2
+
3
+ <%= render "#{Origen.root}/doc/history" %>
4
+
5
+ % end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen_link
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Derouen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-06 00:00:00.000000000 Z
11
+ date: 2016-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen
@@ -115,9 +115,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  version: 1.8.11
116
116
  requirements: []
117
117
  rubyforge_project:
118
- rubygems_version: 2.2.2
118
+ rubygems_version: 2.2.3
119
119
  signing_key:
120
120
  specification_version: 4
121
121
  summary: Origen interface to a live DUT tester
122
122
  test_files: []
123
- has_rdoc: