{"action":"opened","number":182,"pull_request":{"url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/pulls/182","id":242121645,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQyMTIxNjQ1","html_url":"https://github.com/SpinalHDL/SpinalHDL/pull/182","diff_url":"https://github.com/SpinalHDL/SpinalHDL/pull/182.diff","patch_url":"https://github.com/SpinalHDL/SpinalHDL/pull/182.patch","issue_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/issues/182","number":182,"state":"open","locked":false,"title":"RFC: Reorganize peripheral structure","user":{"login":"dnltz","id":37450464,"node_id":"MDQ6VXNlcjM3NDUwNDY0","avatar_url":"https://avatars0.githubusercontent.com/u/37450464?v=4","gravatar_id":"","url":"https://api.github.com/users/dnltz","html_url":"https://github.com/dnltz","followers_url":"https://api.github.com/users/dnltz/followers","following_url":"https://api.github.com/users/dnltz/following{/other_user}","gists_url":"https://api.github.com/users/dnltz/gists{/gist_id}","starred_url":"https://api.github.com/users/dnltz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnltz/subscriptions","organizations_url":"https://api.github.com/users/dnltz/orgs","repos_url":"https://api.github.com/users/dnltz/repos","events_url":"https://api.github.com/users/dnltz/events{/privacy}","received_events_url":"https://api.github.com/users/dnltz/received_events","type":"User","site_admin":false},"body":"Peripherals are right now in lib.com, lib.bus, lib.graphics or in seperate repos (e.g. VexRiscv). All peripherals should be in the same hierarchy and built by a common pattern. This will make SoCs more reliable and software maintainable.\r\n\r\nThese two patches show how this could look like:\r\na) All bus interfaces and public code will be in the first level, e.g. gpio/...\r\nb) Internal code is hidden in a sub directory.\r\n\r\nIf this RFC looks good, I could start and port all peripherals to this structure.","created_at":"2019-01-03T21:55:21Z","updated_at":"2019-01-03T21:55:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/pulls/182/commits","review_comments_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/pulls/182/comments","review_comment_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/issues/182/comments","statuses_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/statuses/4f046bcda41bfe05baf3624f7d9d37b88717d7c1","head":{"label":"dnltz:WIP/reorgnize_per","ref":"WIP/reorgnize_per","sha":"4f046bcda41bfe05baf3624f7d9d37b88717d7c1","user":{"login":"dnltz","id":37450464,"node_id":"MDQ6VXNlcjM3NDUwNDY0","avatar_url":"https://avatars0.githubusercontent.com/u/37450464?v=4","gravatar_id":"","url":"https://api.github.com/users/dnltz","html_url":"https://github.com/dnltz","followers_url":"https://api.github.com/users/dnltz/followers","following_url":"https://api.github.com/users/dnltz/following{/other_user}","gists_url":"https://api.github.com/users/dnltz/gists{/gist_id}","starred_url":"https://api.github.com/users/dnltz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnltz/subscriptions","organizations_url":"https://api.github.com/users/dnltz/orgs","repos_url":"https://api.github.com/users/dnltz/repos","events_url":"https://api.github.com/users/dnltz/events{/privacy}","received_events_url":"https://api.github.com/users/dnltz/received_events","type":"User","site_admin":false},"repo":{"id":163871008,"node_id":"MDEwOlJlcG9zaXRvcnkxNjM4NzEwMDg=","name":"SpinalHDL","full_name":"dnltz/SpinalHDL","private":false,"owner":{"login":"dnltz","id":37450464,"node_id":"MDQ6VXNlcjM3NDUwNDY0","avatar_url":"https://avatars0.githubusercontent.com/u/37450464?v=4","gravatar_id":"","url":"https://api.github.com/users/dnltz","html_url":"https://github.com/dnltz","followers_url":"https://api.github.com/users/dnltz/followers","following_url":"https://api.github.com/users/dnltz/following{/other_user}","gists_url":"https://api.github.com/users/dnltz/gists{/gist_id}","starred_url":"https://api.github.com/users/dnltz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnltz/subscriptions","organizations_url":"https://api.github.com/users/dnltz/orgs","repos_url":"https://api.github.com/users/dnltz/repos","events_url":"https://api.github.com/users/dnltz/events{/privacy}","received_events_url":"https://api.github.com/users/dnltz/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dnltz/SpinalHDL","description":"SpinalHDL core","fork":true,"url":"https://api.github.com/repos/dnltz/SpinalHDL","forks_url":"https://api.github.com/repos/dnltz/SpinalHDL/forks","keys_url":"https://api.github.com/repos/dnltz/SpinalHDL/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dnltz/SpinalHDL/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dnltz/SpinalHDL/teams","hooks_url":"https://api.github.com/repos/dnltz/SpinalHDL/hooks","issue_events_url":"https://api.github.com/repos/dnltz/SpinalHDL/issues/events{/number}","events_url":"https://api.github.com/repos/dnltz/SpinalHDL/events","assignees_url":"https://api.github.com/repos/dnltz/SpinalHDL/assignees{/user}","branches_url":"https://api.github.com/repos/dnltz/SpinalHDL/branches{/branch}","tags_url":"https://api.github.com/repos/dnltz/SpinalHDL/tags","blobs_url":"https://api.github.com/repos/dnltz/SpinalHDL/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dnltz/SpinalHDL/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dnltz/SpinalHDL/git/refs{/sha}","trees_url":"https://api.github.com/repos/dnltz/SpinalHDL/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dnltz/SpinalHDL/statuses/{sha}","languages_url":"https://api.github.com/repos/dnltz/SpinalHDL/languages","stargazers_url":"https://api.github.com/repos/dnltz/SpinalHDL/stargazers","contributors_url":"https://api.github.com/repos/dnltz/SpinalHDL/contributors","subscribers_url":"https://api.github.com/repos/dnltz/SpinalHDL/subscribers","subscription_url":"https://api.github.com/repos/dnltz/SpinalHDL/subscription","commits_url":"https://api.github.com/repos/dnltz/SpinalHDL/commits{/sha}","git_commits_url":"https://api.github.com/repos/dnltz/SpinalHDL/git/commits{/sha}","comments_url":"https://api.github.com/repos/dnltz/SpinalHDL/comments{/number}","issue_comment_url":"https://api.github.com/repos/dnltz/SpinalHDL/issues/comments{/number}","contents_url":"https://api.github.com/repos/dnltz/SpinalHDL/contents/{+path}","compare_url":"https://api.github.com/repos/dnltz/SpinalHDL/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dnltz/SpinalHDL/merges","archive_url":"https://api.github.com/repos/dnltz/SpinalHDL/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dnltz/SpinalHDL/downloads","issues_url":"https://api.github.com/repos/dnltz/SpinalHDL/issues{/number}","pulls_url":"https://api.github.com/repos/dnltz/SpinalHDL/pulls{/number}","milestones_url":"https://api.github.com/repos/dnltz/SpinalHDL/milestones{/number}","notifications_url":"https://api.github.com/repos/dnltz/SpinalHDL/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dnltz/SpinalHDL/labels{/name}","releases_url":"https://api.github.com/repos/dnltz/SpinalHDL/releases{/id}","deployments_url":"https://api.github.com/repos/dnltz/SpinalHDL/deployments","created_at":"2019-01-02T17:42:37Z","updated_at":"2019-01-02T17:42:41Z","pushed_at":"2019-01-03T21:52:16Z","git_url":"git://github.com/dnltz/SpinalHDL.git","ssh_url":"git@github.com:dnltz/SpinalHDL.git","clone_url":"https://github.com/dnltz/SpinalHDL.git","svn_url":"https://github.com/dnltz/SpinalHDL","homepage":null,"size":10718,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SpinalHDL:dev","ref":"dev","sha":"3a27ab6d2ad31359f8455c0a9826ba1d01c53961","user":{"login":"SpinalHDL","id":10659437,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjU5NDM3","avatar_url":"https://avatars1.githubusercontent.com/u/10659437?v=4","gravatar_id":"","url":"https://api.github.com/users/SpinalHDL","html_url":"https://github.com/SpinalHDL","followers_url":"https://api.github.com/users/SpinalHDL/followers","following_url":"https://api.github.com/users/SpinalHDL/following{/other_user}","gists_url":"https://api.github.com/users/SpinalHDL/gists{/gist_id}","starred_url":"https://api.github.com/users/SpinalHDL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpinalHDL/subscriptions","organizations_url":"https://api.github.com/users/SpinalHDL/orgs","repos_url":"https://api.github.com/users/SpinalHDL/repos","events_url":"https://api.github.com/users/SpinalHDL/events{/privacy}","received_events_url":"https://api.github.com/users/SpinalHDL/received_events","type":"Organization","site_admin":false},"repo":{"id":29812153,"node_id":"MDEwOlJlcG9zaXRvcnkyOTgxMjE1Mw==","name":"SpinalHDL","full_name":"SpinalHDL/SpinalHDL","private":false,"owner":{"login":"SpinalHDL","id":10659437,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjU5NDM3","avatar_url":"https://avatars1.githubusercontent.com/u/10659437?v=4","gravatar_id":"","url":"https://api.github.com/users/SpinalHDL","html_url":"https://github.com/SpinalHDL","followers_url":"https://api.github.com/users/SpinalHDL/followers","following_url":"https://api.github.com/users/SpinalHDL/following{/other_user}","gists_url":"https://api.github.com/users/SpinalHDL/gists{/gist_id}","starred_url":"https://api.github.com/users/SpinalHDL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpinalHDL/subscriptions","organizations_url":"https://api.github.com/users/SpinalHDL/orgs","repos_url":"https://api.github.com/users/SpinalHDL/repos","events_url":"https://api.github.com/users/SpinalHDL/events{/privacy}","received_events_url":"https://api.github.com/users/SpinalHDL/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/SpinalHDL/SpinalHDL","description":"SpinalHDL core","fork":false,"url":"https://api.github.com/repos/SpinalHDL/SpinalHDL","forks_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/forks","keys_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/teams","hooks_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/hooks","issue_events_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/issues/events{/number}","events_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/events","assignees_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/assignees{/user}","branches_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/branches{/branch}","tags_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/tags","blobs_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/statuses/{sha}","languages_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/languages","stargazers_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/stargazers","contributors_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/contributors","subscribers_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/subscribers","subscription_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/subscription","commits_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/issues/comments{/number}","contents_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/contents/{+path}","compare_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/merges","archive_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/downloads","issues_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/issues{/number}","pulls_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/pulls{/number}","milestones_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/milestones{/number}","notifications_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/labels{/name}","releases_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/releases{/id}","deployments_url":"https://api.github.com/repos/SpinalHDL/SpinalHDL/deployments","created_at":"2015-01-25T11:42:00Z","updated_at":"2018-12-30T16:21:46Z","pushed_at":"2019-01-02T19:33:48Z","git_url":"git://github.com/SpinalHDL/SpinalHDL.git","ssh_url":"git@github.com:SpinalHDL/SpinalHDL.git","clone_url":"https://github.com/SpinalHDL/SpinalHDL.git","svn_url":"https://github.com/SpinalHDL/SpinalHDL","homepage":null,"size":10713,"stargazers_count":275,"watchers_count":275,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":42,"mirror_url":null,"archived":false,"open_issues_count":24,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":42,"open_issues":24,"watchers":275,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SpinalHDL/SpinalHDL/pulls/182"},"html":{"href":"https://github.com/SpinalHDL/SpinalHDL/pull/182"},"issue":{"href":"https://api.github.com/repos/SpinalHDL/SpinalHDL/issues/182"},"comments":{"href":"https://api.github.com/repos/SpinalHDL/SpinalHDL/issues/182/comments"},"review_comments":{"href":"https://api.github.com/repos/SpinalHDL/SpinalHDL/pulls/182/comments"},"review_comment":{"href":"https://api.github.com/repos/SpinalHDL/SpinalHDL/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SpinalHDL/SpinalHDL/pulls/182/commits"},"statuses":{"href":"https://api.github.com/repos/SpinalHDL/SpinalHDL/statuses/4f046bcda41bfe05baf3624f7d9d37b88717d7c1"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":178,"deletions":45,"changed_files":7}}
{"actor":{"display_login":"dnltz"}}