{"action":"created","comment":{"url":"https://api.github.com/repos/cpc/tce/pulls/comments/46022744","id":46022744,"diff_hunk":"@@ -0,0 +1,71 @@\n+/*\n+    Copyright (c) 2002-2015 Tampere University of Technology.\n+\n+    This file is part of TTA-Based Codesign Environment (TCE).\n+\n+    Permission is hereby granted, free of charge, to any person obtaining a\n+    copy of this software and associated documentation files (the \"Software\"),\n+    to deal in the Software without restriction, including without limitation\n+    the rights to use, copy, modify, merge, publish, distribute, sublicense,\n+    and/or sell copies of the Software, and to permit persons to whom the\n+    Software is furnished to do so, subject to the following conditions:\n+\n+    The above copyright notice and this permission notice shall be included in\n+    all copies or substantial portions of the Software.\n+\n+    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n+    THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n+    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n+    DEALINGS IN THE SOFTWARE.\n+ */\n+/**\n+ * @file FUGenerator.hh\n+ *\n+ * Declaration of FUGenerator class.\n+ *\n+ * @author Nicolai Behmann 2015 (behmann-no.spam-ims.uni-hannover.de)\n+ * @note rating: red\n+ */\n+ \n+#ifndef _FU_GENERATOR_HPP_","path":"tce/src/procgen/FuGe/FUGenerator.hh","position":33,"original_position":33,"commit_id":"739e4a41d46b09e3282154462e4a01b406e4958c","original_commit_id":"739e4a41d46b09e3282154462e4a01b406e4958c","user":{"login":"pjaaskel","id":1652632,"avatar_url":"https://avatars.githubusercontent.com/u/1652632?v=3","gravatar_id":"","url":"https://api.github.com/users/pjaaskel","html_url":"https://github.com/pjaaskel","followers_url":"https://api.github.com/users/pjaaskel/followers","following_url":"https://api.github.com/users/pjaaskel/following{/other_user}","gists_url":"https://api.github.com/users/pjaaskel/gists{/gist_id}","starred_url":"https://api.github.com/users/pjaaskel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjaaskel/subscriptions","organizations_url":"https://api.github.com/users/pjaaskel/orgs","repos_url":"https://api.github.com/users/pjaaskel/repos","events_url":"https://api.github.com/users/pjaaskel/events{/privacy}","received_events_url":"https://api.github.com/users/pjaaskel/received_events","type":"User","site_admin":false},"body":"Check the macro protector naming convention. The oldest files under src/base are better examples for style issues.\r\n\r\n```C\r\n#ifndef TTA_MACHINE_HH\r\n```\r\n\r\nThe convention is TTA_CLASSNAME_HH.","created_at":"2015-11-27T07:39:10Z","updated_at":"2015-11-27T07:39:10Z","html_url":"https://github.com/cpc/tce/pull/3#discussion_r46022744","pull_request_url":"https://api.github.com/repos/cpc/tce/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/cpc/tce/pulls/comments/46022744"},"html":{"href":"https://github.com/cpc/tce/pull/3#discussion_r46022744"},"pull_request":{"href":"https://api.github.com/repos/cpc/tce/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/cpc/tce/pulls/3","id":51877308,"html_url":"https://github.com/cpc/tce/pull/3","diff_url":"https://github.com/cpc/tce/pull/3.diff","patch_url":"https://github.com/cpc/tce/pull/3.patch","issue_url":"https://api.github.com/repos/cpc/tce/issues/3","number":3,"state":"open","locked":false,"title":"function unit generator added","user":{"login":"nibeh","id":2738194,"avatar_url":"https://avatars.githubusercontent.com/u/2738194?v=3","gravatar_id":"","url":"https://api.github.com/users/nibeh","html_url":"https://github.com/nibeh","followers_url":"https://api.github.com/users/nibeh/followers","following_url":"https://api.github.com/users/nibeh/following{/other_user}","gists_url":"https://api.github.com/users/nibeh/gists{/gist_id}","starred_url":"https://api.github.com/users/nibeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nibeh/subscriptions","organizations_url":"https://api.github.com/users/nibeh/orgs","repos_url":"https://api.github.com/users/nibeh/repos","events_url":"https://api.github.com/users/nibeh/events{/privacy}","received_events_url":"https://api.github.com/users/nibeh/received_events","type":"User","site_admin":false},"body":"Created tools to auto generate function unit implementations in VHDL and automatically add them to a HDB. Current limits are:\r\n\r\nonly operations with latency one,\r\nno external ports,\r\nVHDL descriptions of the operation have to exist in base.vhdl file\r\n...\r\nTODOs:\r\n\r\nintegrate VHDL descriptions in OSAL\r\nbuild library of generatefunctionunit tool\r\nsupport Verilog implementations\r\nmodularize software, e.g. combine opcode generation with testhdb implementation\r\nchoose function unit by name from command line tool\r\nFUTURE: autogenerate VHDL operation description from OperationDAG\r\nFUTURE: integrate in tool\r\n...\r\nThe resulting command line tool generatefunctionunit can be tested with\r\n$ generatefunctionunit $(TCE_SRC_PATH)../data/mach/minimal.adf\r\n$ choose function unit (1) ALU\r\n$ testhdb ALU.hdb","created_at":"2015-11-26T06:41:19Z","updated_at":"2015-11-27T07:39:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a8eccd26d86282a2161c6f2e8cf0f134285629d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cpc/tce/pulls/3/commits","review_comments_url":"https://api.github.com/repos/cpc/tce/pulls/3/comments","review_comment_url":"https://api.github.com/repos/cpc/tce/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cpc/tce/issues/3/comments","statuses_url":"https://api.github.com/repos/cpc/tce/statuses/739e4a41d46b09e3282154462e4a01b406e4958c","head":{"label":"nibeh:master","ref":"master","sha":"739e4a41d46b09e3282154462e4a01b406e4958c","user":{"login":"nibeh","id":2738194,"avatar_url":"https://avatars.githubusercontent.com/u/2738194?v=3","gravatar_id":"","url":"https://api.github.com/users/nibeh","html_url":"https://github.com/nibeh","followers_url":"https://api.github.com/users/nibeh/followers","following_url":"https://api.github.com/users/nibeh/following{/other_user}","gists_url":"https://api.github.com/users/nibeh/gists{/gist_id}","starred_url":"https://api.github.com/users/nibeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nibeh/subscriptions","organizations_url":"https://api.github.com/users/nibeh/orgs","repos_url":"https://api.github.com/users/nibeh/repos","events_url":"https://api.github.com/users/nibeh/events{/privacy}","received_events_url":"https://api.github.com/users/nibeh/received_events","type":"User","site_admin":false},"repo":{"id":46339037,"name":"tce","full_name":"nibeh/tce","owner":{"login":"nibeh","id":2738194,"avatar_url":"https://avatars.githubusercontent.com/u/2738194?v=3","gravatar_id":"","url":"https://api.github.com/users/nibeh","html_url":"https://github.com/nibeh","followers_url":"https://api.github.com/users/nibeh/followers","following_url":"https://api.github.com/users/nibeh/following{/other_user}","gists_url":"https://api.github.com/users/nibeh/gists{/gist_id}","starred_url":"https://api.github.com/users/nibeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nibeh/subscriptions","organizations_url":"https://api.github.com/users/nibeh/orgs","repos_url":"https://api.github.com/users/nibeh/repos","events_url":"https://api.github.com/users/nibeh/events{/privacy}","received_events_url":"https://api.github.com/users/nibeh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nibeh/tce","description":"TTA-Based Co-Design Environment","fork":true,"url":"https://api.github.com/repos/nibeh/tce","forks_url":"https://api.github.com/repos/nibeh/tce/forks","keys_url":"https://api.github.com/repos/nibeh/tce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nibeh/tce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nibeh/tce/teams","hooks_url":"https://api.github.com/repos/nibeh/tce/hooks","issue_events_url":"https://api.github.com/repos/nibeh/tce/issues/events{/number}","events_url":"https://api.github.com/repos/nibeh/tce/events","assignees_url":"https://api.github.com/repos/nibeh/tce/assignees{/user}","branches_url":"https://api.github.com/repos/nibeh/tce/branches{/branch}","tags_url":"https://api.github.com/repos/nibeh/tce/tags","blobs_url":"https://api.github.com/repos/nibeh/tce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nibeh/tce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nibeh/tce/git/refs{/sha}","trees_url":"https://api.github.com/repos/nibeh/tce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nibeh/tce/statuses/{sha}","languages_url":"https://api.github.com/repos/nibeh/tce/languages","stargazers_url":"https://api.github.com/repos/nibeh/tce/stargazers","contributors_url":"https://api.github.com/repos/nibeh/tce/contributors","subscribers_url":"https://api.github.com/repos/nibeh/tce/subscribers","subscription_url":"https://api.github.com/repos/nibeh/tce/subscription","commits_url":"https://api.github.com/repos/nibeh/tce/commits{/sha}","git_commits_url":"https://api.github.com/repos/nibeh/tce/git/commits{/sha}","comments_url":"https://api.github.com/repos/nibeh/tce/comments{/number}","issue_comment_url":"https://api.github.com/repos/nibeh/tce/issues/comments{/number}","contents_url":"https://api.github.com/repos/nibeh/tce/contents/{+path}","compare_url":"https://api.github.com/repos/nibeh/tce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nibeh/tce/merges","archive_url":"https://api.github.com/repos/nibeh/tce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nibeh/tce/downloads","issues_url":"https://api.github.com/repos/nibeh/tce/issues{/number}","pulls_url":"https://api.github.com/repos/nibeh/tce/pulls{/number}","milestones_url":"https://api.github.com/repos/nibeh/tce/milestones{/number}","notifications_url":"https://api.github.com/repos/nibeh/tce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nibeh/tce/labels{/name}","releases_url":"https://api.github.com/repos/nibeh/tce/releases{/id}","created_at":"2015-11-17T10:12:22Z","updated_at":"2015-11-19T08:18:49Z","pushed_at":"2015-11-21T12:31:11Z","git_url":"git://github.com/nibeh/tce.git","ssh_url":"git@github.com:nibeh/tce.git","clone_url":"https://github.com/nibeh/tce.git","svn_url":"https://github.com/nibeh/tce","homepage":null,"size":387804,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cpc:master","ref":"master","sha":"27dbcea6fbb9400cd14d63c4a70a4b314c6090ce","user":{"login":"cpc","id":15243125,"avatar_url":"https://avatars.githubusercontent.com/u/15243125?v=3","gravatar_id":"","url":"https://api.github.com/users/cpc","html_url":"https://github.com/cpc","followers_url":"https://api.github.com/users/cpc/followers","following_url":"https://api.github.com/users/cpc/following{/other_user}","gists_url":"https://api.github.com/users/cpc/gists{/gist_id}","starred_url":"https://api.github.com/users/cpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpc/subscriptions","organizations_url":"https://api.github.com/users/cpc/orgs","repos_url":"https://api.github.com/users/cpc/repos","events_url":"https://api.github.com/users/cpc/events{/privacy}","received_events_url":"https://api.github.com/users/cpc/received_events","type":"Organization","site_admin":false},"repo":{"id":44724832,"name":"tce","full_name":"cpc/tce","owner":{"login":"cpc","id":15243125,"avatar_url":"https://avatars.githubusercontent.com/u/15243125?v=3","gravatar_id":"","url":"https://api.github.com/users/cpc","html_url":"https://github.com/cpc","followers_url":"https://api.github.com/users/cpc/followers","following_url":"https://api.github.com/users/cpc/following{/other_user}","gists_url":"https://api.github.com/users/cpc/gists{/gist_id}","starred_url":"https://api.github.com/users/cpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpc/subscriptions","organizations_url":"https://api.github.com/users/cpc/orgs","repos_url":"https://api.github.com/users/cpc/repos","events_url":"https://api.github.com/users/cpc/events{/privacy}","received_events_url":"https://api.github.com/users/cpc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cpc/tce","description":"TTA-Based Co-Design Environment","fork":false,"url":"https://api.github.com/repos/cpc/tce","forks_url":"https://api.github.com/repos/cpc/tce/forks","keys_url":"https://api.github.com/repos/cpc/tce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cpc/tce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cpc/tce/teams","hooks_url":"https://api.github.com/repos/cpc/tce/hooks","issue_events_url":"https://api.github.com/repos/cpc/tce/issues/events{/number}","events_url":"https://api.github.com/repos/cpc/tce/events","assignees_url":"https://api.github.com/repos/cpc/tce/assignees{/user}","branches_url":"https://api.github.com/repos/cpc/tce/branches{/branch}","tags_url":"https://api.github.com/repos/cpc/tce/tags","blobs_url":"https://api.github.com/repos/cpc/tce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cpc/tce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cpc/tce/git/refs{/sha}","trees_url":"https://api.github.com/repos/cpc/tce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cpc/tce/statuses/{sha}","languages_url":"https://api.github.com/repos/cpc/tce/languages","stargazers_url":"https://api.github.com/repos/cpc/tce/stargazers","contributors_url":"https://api.github.com/repos/cpc/tce/contributors","subscribers_url":"https://api.github.com/repos/cpc/tce/subscribers","subscription_url":"https://api.github.com/repos/cpc/tce/subscription","commits_url":"https://api.github.com/repos/cpc/tce/commits{/sha}","git_commits_url":"https://api.github.com/repos/cpc/tce/git/commits{/sha}","comments_url":"https://api.github.com/repos/cpc/tce/comments{/number}","issue_comment_url":"https://api.github.com/repos/cpc/tce/issues/comments{/number}","contents_url":"https://api.github.com/repos/cpc/tce/contents/{+path}","compare_url":"https://api.github.com/repos/cpc/tce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cpc/tce/merges","archive_url":"https://api.github.com/repos/cpc/tce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cpc/tce/downloads","issues_url":"https://api.github.com/repos/cpc/tce/issues{/number}","pulls_url":"https://api.github.com/repos/cpc/tce/pulls{/number}","milestones_url":"https://api.github.com/repos/cpc/tce/milestones{/number}","notifications_url":"https://api.github.com/repos/cpc/tce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cpc/tce/labels{/name}","releases_url":"https://api.github.com/repos/cpc/tce/releases{/id}","created_at":"2015-10-22T05:49:52Z","updated_at":"2015-11-26T10:13:28Z","pushed_at":"2015-11-26T13:27:59Z","git_url":"git://github.com/cpc/tce.git","ssh_url":"git@github.com:cpc/tce.git","clone_url":"https://github.com/cpc/tce.git","svn_url":"https://github.com/cpc/tce","homepage":null,"size":262207,"stargazers_count":4,"watchers_count":4,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cpc/tce/pulls/3"},"html":{"href":"https://github.com/cpc/tce/pull/3"},"issue":{"href":"https://api.github.com/repos/cpc/tce/issues/3"},"comments":{"href":"https://api.github.com/repos/cpc/tce/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/cpc/tce/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/cpc/tce/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cpc/tce/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/cpc/tce/statuses/739e4a41d46b09e3282154462e4a01b406e4958c"}}}}